Skip to content

Btrfs: fixes for inode cache (-o inode_cache)

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Btrfs: fix hang when loading existing inode cache off diskfs/btrfs/inode-map.c+1 -02 replies
2/5Btrfs: fix inode cache block reserve leak on failure to allocate data spacefs/btrfs/inode-map.c+1 -07 replies
3/5Btrfs: fix inode cache waiters hanging on failure to start caching threadfs/btrfs/inode-map.c+18 -51 reply
4/5Btrfs: fix inode cache waiters hanging on path allocation failurefs/btrfs/inode-map.c+3 -12 replies
5/5Btrfs: wake up inode cache waiters sooner to reduce waiting timefs/btrfs/inode-map.c+1 -01 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchNikolay Borisov
1/5R-b
2/5
3/5R-b
4/5R-b R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] 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