summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-05-09 16:22:54 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-05-12 17:16:46 -0700
commit32786bac1fb35f07979f5f284ba3dd9e64976b36 (patch)
tree928b078fb9bd63399efe8f25d9821eb69e085435 /.gitattributes
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
xfs: adjust rt allocation minlen when extszhint > rtextsize
xfs_bmap_rtalloc doesn't handle realtime extent files with extent size hints larger than the rt volume's extent size properly, because xfs_bmap_extsize_align can adjust the offset/length parameters to try to fit the extent size hint. Under these conditions, minlen has to be large enough so that any allocation returned by xfs_rtallocate_extent will be large enough to cover at least one of the blocks that the caller asked for. If the allocation is too short, bmapi_write will return no mapping for the requested range, which causes ENOSPC errors in other parts of the filesystem. Therefore, adjust minlen upwards to fix this. This can be found by running generic/263 (g/127 or g/522) with a realtime extent size hint that's larger than the rt volume extent size. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions