Skip to content

xfs: don't leak a locked dquot when xfs_dquot_attach_buf fails

Christoph Hellwig linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18xfs: don't leak a locked dquot when xfs_dquot_attach_buf failsfs/xfs/xfs_qm.c+3 -21 reply
2/18xfs: make qi_dquots a 64-bit valuefs/xfs/xfs_qm.h fs/xfs/xfs_quotaops.c+2 -21 reply
3/18xfs: don't treat all radix_tree_insert errors as -EEXISTfs/xfs/xfs_dquot.c+18 -131 reply
4/18xfs: remove xfs_dqunlock and friendsfs/xfs/scrub/quota.c fs/xfs/scrub/quota_repair.c fs/xfs/scrub/quotacheck_repair.c +6 more+47 -620 replies
5/18xfs: use a lockref for the xfs_dquot reference countfs/xfs/libxfs/xfs_quota_defs.h fs/xfs/xfs_dquot.c fs/xfs/xfs_dquot.h +2 more+37 -420 replies
6/18xfs: remove xfs_qm_dqput and optimize dropping dquot referencesfs/xfs/scrub/quota.c fs/xfs/scrub/quota_repair.c fs/xfs/scrub/quotacheck.c +7 more+32 -501 reply
7/18xfs: consolidate q_qlock locking in xfs_qm_dqget and xfs_qm_dqget_inodefs/xfs/xfs_dquot.c+9 -140 replies
8/18xfs: xfs_qm_dqattach_one is never called with a non-NULL *IO_idqppfs/xfs/xfs_qm.c fs/xfs/xfs_trace.h+1 -130 replies
9/18xfs: fold xfs_qm_dqattach_one into xfs_qm_dqget_inodefs/xfs/xfs_dquot.c fs/xfs/xfs_qm.c+9 -400 replies
10/18xfs: return the dquot unlocked from xfs_qm_dqgetfs/xfs/scrub/dqiterate.c fs/xfs/scrub/quotacheck.c fs/xfs/scrub/quotacheck_repair.c +4 more+9 -50 replies
11/18xfs: remove q_qlock locking in xfs_qm_scall_setqlimfs/xfs/xfs_qm_syscalls.c+0 -20 replies
12/18xfs: push q_qlock acquisition from xchk_dquot_iter to the callers.fs/xfs/scrub/dqiterate.c fs/xfs/scrub/quota.c fs/xfs/scrub/quota_repair.c +2 more+4 -10 replies
13/18xfs: move q_qlock locking into xchk_quota_itemfs/xfs/scrub/quota.c+1 -50 replies
14/18xfs: move q_qlock locking into xqcheck_compare_dquotfs/xfs/scrub/quotacheck.c+3 -81 reply
15/18xfs: move quota locking into xqcheck_commit_dquotfs/xfs/scrub/quotacheck_repair.c+2 -191 reply
16/18xfs: move quota locking into xrep_quota_itemfs/xfs/scrub/quota_repair.c+6 -101 reply
17/18xfs: move xfs_dquot_tree calls into xfs_qm_dqget_cache_{lookup,insert}fs/xfs/xfs_dquot.c+11 -130 replies
18/18xfs: reduce ilock roundtrips in xfs_qm_vop_dqallocfs/xfs/xfs_qm.c+3 -292 replies

Reviews trailers per patch

All 18 patches have a Reviewed-by or Acked-by.

PatchDarrick J. Wong
1/18R-b
2/18R-b
3/18R-b
4/18R-b
5/18R-b
6/18R-b
7/18R-b
8/18R-b
9/18R-b
10/18R-b
11/18R-b
12/18R-b
13/18R-b
14/18R-b
15/18R-b
16/18R-b
17/18R-b
18/18R-b

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

Read the v1 thread