diff options
| author | Dorimanx <yuri@bynet.co.il> | 2017-06-23 02:10:25 +0300 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-09-04 01:56:31 +0200 |
| commit | 6a1d3ab5cc013c438029d61bb62dc2b4aeea3595 (patch) | |
| tree | b61cf940ec2935956425dbe89a082b893dd570c9 /fs/f2fs/recovery.c | |
| parent | d52d7b5ff55c20c1eafc233c8abdba9926216284 (diff) | |
FS: F2FS: Use jiffies
Signed-off-by: Joe Maples <joe@frap129.org>
Diffstat (limited to 'fs/f2fs/recovery.c')
| -rw-r--r-- | fs/f2fs/recovery.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index 20147d297..2476783db 100644 --- a/fs/f2fs/recovery.c +++ b/fs/f2fs/recovery.c @@ -399,7 +399,7 @@ retry_dn: err = get_dnode_of_data(&dn, start, ALLOC_NODE); if (err) { if (err == -ENOMEM) { - congestion_wait(BLK_RW_ASYNC, HZ/50); + congestion_wait(BLK_RW_ASYNC, msecs_to_jiffies(20)); goto retry_dn; } goto out; @@ -461,7 +461,8 @@ retry_prev: err = check_index_in_prev_nodes(sbi, dest, &dn); if (err) { if (err == -ENOMEM) { - congestion_wait(BLK_RW_ASYNC, HZ/50); + congestion_wait(BLK_RW_ASYNC, + msecs_to_jiffies(20)); goto retry_prev; } goto err; |
