Fixing XFS RAID - does XFS ever issue non-aligned discards?

Dave Chinner david at fromorbit.com
Tue Dec 15 16:19:10 CST 2015


On Tue, Dec 15, 2015 at 02:16:05PM +0100, Michał Pecio wrote:
> Hi,
> 
> I'm using XFS with bsize=4096 on RAID0 of two Intel 320 SSDs under
> Linux 3.18 LTS. I'm wondering if it's correct to assume that discards
> issued by XFS will always be multiples of 4k and 4k-aligned?

Yes. Discards are only done on filesystem blocks, so will have
filesystem block granularity/alignment.

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list