linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: michael.arndt@berlin.de
To: linux-xfs@vger.kernel.org
Subject: Re: xfs fstrim and quota
Date: Tue, 24 Apr 2018 10:28:34 +0200	[thread overview]
Message-ID: <483b7b2c592450221bb5567e64bad84e@berlin.de> (raw)
In-Reply-To: <c3cbf69c52f0e89631c796016449bbe3@berlin.de>

Hello *

Will fstrim operations for a thin provisioning storage and xfs quota 
conflict with each other ?

If i understand fstrim code correctly, in case of xfs / thin 
provisioning  storage it tells xfs to release unused blocks.

I have read indications that blocks are marked to the underlying storage 
as freed by zeroing them out.

Is the "write zeros" correct information, or will be commands like scsi 
unmap or FITRIM be sent to the storage ?

I found many exact references to fstrim on SSD, but no technical 
description on which operation is implemented for thin provisioning 
storages.

TIA
Micha

       reply	other threads:[~2018-04-24  8:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c3cbf69c52f0e89631c796016449bbe3@berlin.de>
2018-04-24  8:28 ` michael.arndt [this message]
2018-04-24 11:35   ` xfs fstrim and quota Brian Foster
2018-11-14 10:51     ` xfs remove / unlink extremely slow ? Michael Arndt
2018-04-24 16:10   ` xfs fstrim and quota Eric Sandeen

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=483b7b2c592450221bb5567e64bad84e@berlin.de \
    --to=michael.arndt@berlin.de \
    --cc=linux-xfs@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).