diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-09-13 10:55:48 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-10-14 14:16:27 -0700 |
commit | bf64ac7763fdfcffa44d05a3b2da7fc7fecbbfc2 (patch) | |
tree | ad7acb1228a31c6e744c2334e65789bbf27fc4e1 /block/ioprio.c | |
parent | 01c310968e2234133e3387fa0d73578d8b38e771 (diff) |
xfs: make rtbitmap ILOCKing consistent when scanning the rt bitmap filescrub-fix-rtmeta-ilocking_2022-10-14
xfs_rtalloc_query_range scans the realtime bitmap file in order of
increasing file offset, so this caller can take ILOCK_SHARED on the rt
bitmap inode instead of ILOCK_EXCL. This isn't going to yield any
practical benefits at mount time, but we'd like to make the locking
usage consistent around xfs_rtalloc_query_all calls. Make all the
places we do this use the same xfs_ilock lockflags for consistency.
Fixes: 4c934c7dd60c ("xfs: report realtime space information via the rtbitmap")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'block/ioprio.c')
0 files changed, 0 insertions, 0 deletions