All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: John Dorminy <jdorminy@redhat.com>
Cc: Harshad Shirwadkar <harshadshirwadkar@gmail.com>,
	linux-block@vger.kernel.org, tytso@mit.edu,
	"Martin K. Petersen" <martin.petersen@oracle.com>
Subject: Re: [PATCH] block: add split_alignment for request queue
Date: Mon, 15 Jun 2020 22:25:27 -0400	[thread overview]
Message-ID: <yq1lfknoio7.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <CAMeeMh9X0zNSmyxaHCJCXT0m3eaeTzdJ=NZREXUgRmsfM1crsQ@mail.gmail.com> (John Dorminy's message of "Mon, 15 Jun 2020 22:14:05 -0400")


John,

> Reading through this change, split_alignment appears similar in my
> mind to limits->io_opt.

io_opt is a hint which requests that the submitter does not issue any
I/Os that are larger than this size. io_opt is smaller than or equal to
the device's hard limit for I/O size. In the standards space it's
described as "issuing an I/O larger than this value may incur a
processing penalty". So not quite what you're looking for.

However, we have chunk_sectors queue limit which is honored for splits.

-- 
Martin K. Petersen	Oracle Linux Engineering

  reply	other threads:[~2020-06-16  2:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-16  0:56 [PATCH] block: add split_alignment for request queue Harshad Shirwadkar
2020-06-16  2:14 ` John Dorminy
2020-06-16  2:25   ` Martin K. Petersen [this message]
2020-06-16  2:40 ` Ming Lei
2020-06-16  2:50   ` harshad shirwadkar
2020-06-16  3:24     ` harshad shirwadkar
2020-06-16  4:16       ` Ming Lei
2020-06-16  7:29 ` Christoph Hellwig
2020-06-16 11:12   ` Sweet Tea Dorminy
2020-06-16 14:38     ` Christoph Hellwig

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=yq1lfknoio7.fsf@ca-mkp.ca.oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=harshadshirwadkar@gmail.com \
    --cc=jdorminy@redhat.com \
    --cc=linux-block@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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.