summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2019-07-04 18:24:32 +0300
committerDavid Sterba <dsterba@suse.com>2019-09-09 15:59:01 +0300
commita68ebe0790fc88b4314d17984a2cf99ce2361901 (patch)
tree11871e815251466cb2a6f68ecbd02ef92ec7f953 /scripts/basic
parent29d47d00e0ae61668ee0c5d90bef2893c8abbafa (diff)
downloadlinux-a68ebe0790fc88b4314d17984a2cf99ce2361901.tar.xz
Btrfs: fix inode cache waiters hanging on failure to start caching thread
If we fail to start the inode caching thread, we print an error message and disable the inode cache, however we never wake up any waiters, so they hang forever waiting for the caching to finish. Fix this by waking them up and have them fallback to a call to btrfs_find_free_objectid(). Fixes: e60efa84252c05 ("Btrfs: avoid triggering bug_on() when we fail to start inode caching task") Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions