Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Roman Mamedov <rm@romanrm.net>
To: Neal Gompa <ngompa13@gmail.com>
Cc: Btrfs BTRFS <linux-btrfs@vger.kernel.org>,
	Chris Mason <clm@fb.com>, Josef Bacik <josef@toxicpanda.com>,
	Chris Murphy <lists@colorremedies.com>
Subject: Re: Using async discard by default with SSDs?
Date: Fri, 22 Jul 2022 00:21:23 +0500	[thread overview]
Message-ID: <20220722002123.379c9ca6@nvm> (raw)
In-Reply-To: <CAEg-Je_b1YtdsCR0zS5XZ_SbvJgN70ezwvRwLiCZgDGLbeMB=w@mail.gmail.com>

On Thu, 21 Jul 2022 14:43:16 -0400
Neal Gompa <ngompa13@gmail.com> wrote:

> potential lack of "discard=none" option to turn off discards if the
> user wanted it to. Do we already have this option?

Like on Ext4, XFS and others, the "nodiscard" mount option is available:
https://btrfs.readthedocs.io/en/latest/btrfs-man5.html

-- 
With respect,
Roman

  reply	other threads:[~2022-07-21 19:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-21 18:43 Using async discard by default with SSDs? Neal Gompa
2022-07-21 19:21 ` Roman Mamedov [this message]
2022-07-25 19:08 ` David Sterba
2022-07-26 20:00   ` Chris Murphy
2022-07-26 21:36     ` David Sterba
2022-07-26 22:10       ` Chris Murphy
2022-07-27 14:50         ` Chris Murphy
2022-07-27 14:56           ` David Sterba
2022-07-27 15:14             ` Chris Murphy
2022-07-27 17:47               ` David Sterba
2022-07-28 12:27                 ` Chris Murphy
2022-07-27 15:26             ` Neal Gompa
2022-08-05 15:14             ` David Sterba

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=20220722002123.379c9ca6@nvm \
    --to=rm@romanrm.net \
    --cc=clm@fb.com \
    --cc=josef@toxicpanda.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lists@colorremedies.com \
    --cc=ngompa13@gmail.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