public inbox for fio@vger.kernel.org
 help / color / mirror / Atom feed
From: Vincent Fu <vincentfu@gmail.com>
To: 芈国政 <guozhengmi@gmail.com>, "fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: Could I use fio to send write zeroes command (NVM Command Set) to a block device (/dev/nvme0n1)? Not a character device (/dev/ng0n1).
Date: Mon, 2 Dec 2024 13:37:40 -0500	[thread overview]
Message-ID: <b39df833-2208-4d04-9e81-9bfdc37c8afc@gmail.com> (raw)
In-Reply-To: <DM5PR03MB31469D90F8C20E2B9844E808AF292@DM5PR03MB3146.namprd03.prod.outlook.com>

On 11/27/24 21:43, 芈国政 wrote:
> Hi all
> Could I use fio to send write zeroes command (NVM Command Set) to a block device (/dev/nvme0n1)? Not a character device (/dev/ng0n1).
> I studied the fio code and did some tests on nvme ssd, but found that it doesn't work. I wonder if there is something wrong with my understanding?
> 
> Thanks for the feedback!
> Tim

Fio does not support sending write zeroes commands to block devices.

Vincent

      reply	other threads:[~2024-12-02 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-28  2:43 Could I use fio to send write zeroes command (NVM Command Set) to a block device (/dev/nvme0n1)? Not a character device (/dev/ng0n1) 芈国政
2024-12-02 18:37 ` Vincent Fu [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=b39df833-2208-4d04-9e81-9bfdc37c8afc@gmail.com \
    --to=vincentfu@gmail.com \
    --cc=fio@vger.kernel.org \
    --cc=guozhengmi@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