diff options
| author | 2025-11-10 14:23:10 +0100 | |
|---|---|---|
| committer | 2025-11-11 11:45:58 +0100 | |
| commit | 6a7bb6ccd00580461f01e86f592c7d8c7bb54793 (patch) | |
| tree | d7e9366d4c69b00a6ba136b163099056bdbf9e2a /tools/lib/python/kdoc | |
| parent | xfs: move xfs_dquot_tree calls into xfs_qm_dqget_cache_{lookup,insert} (diff) | |
xfs: reduce ilock roundtrips in xfs_qm_vop_dqalloc
xfs_qm_vop_dqalloc only needs the (exclusive) ilock for attaching dquots
to the inode if not done so yet. All the other locks don't touch the inode
and don't need the ilock - the i_rwsem / iolock protects against changes
to the IDs while we are in a method, and the ilock would not help because
dropping it for the dqget calls would be racy anyway.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
