All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Elliott, Robert (Servers)" <elliott@hpe.com>
To: smitha sunder <sundersmitha@gmail.com>, fio <fio@vger.kernel.org>
Subject: RE: unaligned IO and starting LBA
Date: Wed, 16 Oct 2019 15:11:44 +0000	[thread overview]
Message-ID: <AT5PR8401MB116994768647E0EF0490F80DAB920@AT5PR8401MB1169.NAMPRD84.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CA+zhgFSzBaH3q8TGZCet4WujqYBNqNA_kH3HavLoQY8FsmKFcQ@mail.gmail.com>



> -----Original Message-----
> From: fio-owner@vger.kernel.org [mailto:fio-owner@vger.kernel.org] On Behalf Of smitha sunder
> Sent: Tuesday, October 15, 2019 4:37 PM
> To: fio <fio@vger.kernel.org>
> Subject: unaligned IO and starting LBA
> 
> Hello,
> 
> 
> 
> I have a 512 byte formatted nvme drive and I want to send an unaligned
> IO and here’s the fio command line I am using , fio version fio-3.7
> 
> # fio --name=job1 --filename=/dev/nvme0n1  --rw=randwrite
> --ioengine=libaio  --number_ios=1 --debug=io --bs_unaligned=1
> --bs=1029
... 
> Shouldn’t I see D7BD7CE as the starting LBA for the write based on the
> above offset (0x1af7af9cec) ?

Without direct=1 you're exercising the OS page cache logic,
not directly accessing the drive.


  reply	other threads:[~2019-10-16 15:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15 21:36 unaligned IO and starting LBA smitha sunder
2019-10-16 15:11 ` Elliott, Robert (Servers) [this message]
2019-10-16 17:18   ` smitha sunder
2019-12-19  3:27     ` Sitsofe Wheeler

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=AT5PR8401MB116994768647E0EF0490F80DAB920@AT5PR8401MB1169.NAMPRD84.PROD.OUTLOOK.COM \
    --to=elliott@hpe.com \
    --cc=fio@vger.kernel.org \
    --cc=sundersmitha@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.