From: Dave Chinner <david@fromorbit.com>
To: "Michał Pecio" <michal.pecio@gmail.com>
Cc: xfs@oss.sgi.com
Subject: Re: Fixing XFS RAID - does XFS ever issue non-aligned discards?
Date: Wed, 16 Dec 2015 09:19:10 +1100 [thread overview]
Message-ID: <20151215221910.GP26718@dastard> (raw)
In-Reply-To: <20151215141605.5b60d336@sauron>
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@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
prev parent reply other threads:[~2015-12-15 22:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-15 13:16 Fixing XFS RAID - does XFS ever issue non-aligned discards? Michał Pecio
2015-12-15 22:19 ` Dave Chinner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151215221910.GP26718@dastard \
--to=david@fromorbit.com \
--cc=michal.pecio@gmail.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox