Re: [PATCH] xfs: Don't trim extents for fiemap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 23.11.2017 10:15, Christoph Hellwig wrote:
> On Thu, Nov 23, 2017 at 10:06:09AM +0200, Nikolay Borisov wrote:
>> For file extents xfs currently always calls xfs_bmapi_read with not flags,
>> meaning extents are going to be truncated to the requested range. This is
>> differs than what other filesystems do (ext4/btrfs don't trim extents). So
>> harmonize the behavior across the filesystem by explicitly not trimming
>> extents when we are called from fiemap code.
> 
> Given that the iomap code generally trims extents, can you just try
> to always enable XFS_BMAPI_ENTIRE?

What you are saying is that iomap currently always trims the returned
range from the underlying filesystem so doing trimming in the fs is
redundant and I can just pass XFS_BMAPI_ENTIRE indiscriminately ?

> 
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux