diff options
author | Con Kolivas <kernel@kolivas.org> | 2016-11-04 08:22:08 +1100 |
---|---|---|
committer | Con Kolivas <kernel@kolivas.org> | 2016-11-04 10:24:50 +1100 |
commit | ec3ef32bcb8809b769cec8092ee4ee281f19d74a (patch) | |
tree | 987b928140181553c46fed8113fbdbe127590d0d /fs | |
parent | c4401357b894138a785a0e209fea34df3b5ca962 (diff) |
Replace all schedule_timeout(1) with schedule_min_hrtimeout().
Diffstat (limited to 'fs')
-rw-r--r-- | fs/afs/vlocation.c | 2 | ||||
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 | ||||
-rw-r--r-- | fs/btrfs/inode-map.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/fs/afs/vlocation.c b/fs/afs/vlocation.c index 52976785a32c..87bd28f515d6 100644 --- a/fs/afs/vlocation.c +++ b/fs/afs/vlocation.c @@ -129,7 +129,7 @@ static int afs_vlocation_access_vl_by_id(struct afs_vlocation *vl, if (vl->upd_busy_cnt > 1) { /* second+ BUSY - sleep a little bit */ set_current_state(TASK_UNINTERRUPTIBLE); - schedule_timeout(1); + schedule_min_hrtimeout(); } continue; } diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 665da8f66ff1..85d9b5ace3f9 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -5945,7 +5945,7 @@ int btrfs_delalloc_reserve_metadata(struct inode *inode, u64 num_bytes) if (flush != BTRFS_RESERVE_NO_FLUSH && btrfs_transaction_in_commit(root->fs_info)) - schedule_timeout(1); + schedule_min_hrtimeout(); if (delalloc_lock) mutex_lock(&BTRFS_I(inode)->delalloc_mutex); diff --git a/fs/btrfs/inode-map.c b/fs/btrfs/inode-map.c index 359ee861b5a4..12955ed67e48 100644 --- a/fs/btrfs/inode-map.c +++ b/fs/btrfs/inode-map.c @@ -89,7 +89,7 @@ again: btrfs_release_path(path); root->ino_cache_progress = last; up_read(&fs_info->commit_root_sem); - schedule_timeout(1); + schedule_min_hrtimeout(); goto again; } else continue; |