Searched hist:ee20808d848c87a51e176706d81b95a21747d6cf (Results 1 – 2 of 2) sorted by relevance
/linux/fs/xfs/ |
H A D | xfs_inode.h | diff ee20808d848c87a51e176706d81b95a21747d6cf Mon Apr 15 23:54:10 CEST 2024 Darrick J. Wong <djwong@kernel.org> xfs: create a new helper to return a file's allocation unit
Create a new helper function to calculate the fundamental allocation unit (i.e. the smallest unit of space we can allocate) of a file. Things are going to get hairy with range-exchange on the realtime device, so prepare for this now.
Remove the static attribute from xfs_is_falloc_aligned since the next patch will need it.
Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
|
H A D | xfs_file.c | diff ee20808d848c87a51e176706d81b95a21747d6cf Mon Apr 15 23:54:10 CEST 2024 Darrick J. Wong <djwong@kernel.org> xfs: create a new helper to return a file's allocation unit
Create a new helper function to calculate the fundamental allocation unit (i.e. the smallest unit of space we can allocate) of a file. Things are going to get hairy with range-exchange on the realtime device, so prepare for this now.
Remove the static attribute from xfs_is_falloc_aligned since the next patch will need it.
Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
|