Btrfs: fixes for inode cache (-o inode_cache)
cover Btrfs: fixes for inode cache (-o inode_cache)
From: Filipe Manana <[email protected]>
Just a small set of fixes for the inode cache feature, mostly hangs due to missing wakeups or incomplete error handling, as well as an inode block reserve leak when hitting ENOSPC.
Filipe Manana (5):
Btrfs: fix hang when loading existing inode cache off disk
Btrfs: fix inode cache block reserve leak on failure to allocate data
space
Btrfs: fix inode cache waiters hanging on failure to start caching
thread
Btrfs: fix inode cache waiters hanging on path allocation failure
Btrfs: wake up inode cache waiters sooner to reduce waiting time
fs/btrfs/inode-map.c | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-)
Signature · 1 line
2.11.0
Quoted 5 lines · On Thu, Jul 04, 2019 at 04:24:00PM +0100, [email protected] wrote:
From: Filipe Manana <[email protected]>
Just a small set of fixes for the inode cache feature, mostly hangs due to missing wakeups or incomplete error handling, as well as an inode block reserve leak when hitting ENOSPC.
Thanks for the fixes, all added to misc-next. The feature is rarely used and the manual page discrourages that too, only in a very special case. I personally would like to deprecate it and delete completely, for several reasons, so I suggest you don't spend too much time on it.