From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB04BC43334 for ; Thu, 21 Jul 2022 19:21:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232014AbiGUTVg (ORCPT ); Thu, 21 Jul 2022 15:21:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231927AbiGUTVd (ORCPT ); Thu, 21 Jul 2022 15:21:33 -0400 Received: from rin.romanrm.net (rin.romanrm.net [51.158.148.128]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30DA788CDB for ; Thu, 21 Jul 2022 12:21:30 -0700 (PDT) Received: from nvm (nvm2.home.romanrm.net [IPv6:fd39::4a:3cff:fe57:d6b5]) by rin.romanrm.net (Postfix) with SMTP id 7E3F15D7; Thu, 21 Jul 2022 19:21:25 +0000 (UTC) Date: Fri, 22 Jul 2022 00:21:23 +0500 From: Roman Mamedov To: Neal Gompa Cc: Btrfs BTRFS , Chris Mason , Josef Bacik , Chris Murphy Subject: Re: Using async discard by default with SSDs? Message-ID: <20220722002123.379c9ca6@nvm> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Thu, 21 Jul 2022 14:43:16 -0400 Neal Gompa 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