diff options
| author | Christoph Hellwig <[email protected]> | 2024-07-08 12:02:57 +0000 |
|---|---|---|
| committer | Chandan Babu R <[email protected]> | 2024-07-09 03:38:28 +0000 |
| commit | 2bf6e353542d233486195953dc9c346331f82dcb (patch) | |
| tree | 009c371dd6957c5fbb0d16b059ce3a239326c641 /scripts/generate_rust_target.rs | |
| parent | xfs: get rid of xfs_ag_resv_rmapbt_alloc (diff) | |
| download | kernel-2bf6e353542d233486195953dc9c346331f82dcb.tar.gz kernel-2bf6e353542d233486195953dc9c346331f82dcb.zip | |
xfs: fix rtalloc rotoring when delalloc is in use
If we're trying to allocate real space for a delalloc reservation at
offset 0, we should use the rotor to spread files across the rt volume.
Switch the rtalloc to use the XFS_ALLOC_INITIAL_USER_DATA flag that
is set for any write at startoff to make it match the behavior for
the main data device.
Based on a patch from Darrick J. Wong.
Fixes: 6a94b1acda7e ("xfs: reinstate delalloc for RT inodes (if sb_rextsize == 1)")
Reported-by: Darrick J. Wong <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Chandan Babu R <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
