lockref tidy ups + touch ups to it's usage by dcache
Status from this message: Applied to the vfs-7.3.misc branch of the vfs/vfs.git tree.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lockref: tidy up dead count handlingfs/ fs/ fs/ +6 more | +26 | 1 reply | |
| 2/2 | dcache: use lockref routines for dead count checksfs/ | +8 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Jan Kara |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] lockref tidy ups + touch ups to it's usage by dcache
The open-coded check for < 0 indicating a dead object uses information it should not know, so to speak.
This is a preliminary clean up for a longer term goal of moving dcache away from lockref into an approach which can atomic_add both ways instead of suffering the cmpxchg loop.
Mateusz Guzik (2):
lockref: tidy up dead count handling
dcache: use lockref routines for dead count checks
fs/ceph/dir.c | 2 +- fs/dcache.c | 16 ++++++++-------- fs/erofs/zdata.c | 4 ++-- fs/gfs2/glock.c | 6 +++--- fs/gfs2/lock_dlm.c | 6 +++--- fs/gfs2/quota.c | 4 ++-- fs/xfs/xfs_buf.c | 4 ++-- fs/xfs/xfs_qm.c | 4 ++-- include/linux/lockref.h | 12 ++++++++++-- lib/lockref.c | 2 +- 10 files changed, 34 insertions(+), 26 deletions(-)
Signature · 1 line
2.48.1