From: sagig@dev.mellanox.co.il (Sagi Grimberg)
Subject: [PATCH 3/4] block: Refuse adding appending a gaped integrity page to a bio
Date: Sun, 6 Sep 2015 10:46:35 +0300 [thread overview]
Message-ID: <55EBEF5B.3030608@dev.mellanox.co.il> (raw)
In-Reply-To: <yq1a8t2amtj.fsf@sermon.lab.mkp.net>
On 9/4/2015 6:24 AM, Martin K. Petersen wrote:
>>>>>> "Sagi" == Sagi Grimberg <sagig at mellanox.com> writes:
>
> Sagi> This is only theoretical at the moment given that the only
> Sagi> subsystems that generate integrity payloads are the block layer
> Sagi> itself and the scsi target (which generate well aligned integrity
> Sagi> payloads). But when we will expose integrity meta-data to
> Sagi> user-space, we'll need to refuse appending a page with a gap (if
> Sagi> the queue virtual boundary is set).
>
Hi Martin,
> Code looks fine but my concerns outlined in:
>
> http://lists.infradead.org/pipermail/linux-nvme/2015-July/002063.html
So given that this is a bug fix (was completely not handled before) I
think we should make an incremental progress towards getting it right.
Are you fine with that?
Now, given that drivers which set virt_boundary won't be able to accept
8-byte sg elements for DIX, would you prefer it being bounced rather
than refusing the merge? This would require some additional logic given
that we won't want to bounce on every merge attempt but only when the
request is kicked?
Sagi.
next prev parent reply other threads:[~2015-09-06 7:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-03 16:28 [PATCH 0/4] Fix gaps detection in bio merges Sagi Grimberg
2015-09-03 16:28 ` [PATCH 1/4] block: Check for gaps on front and back merges Sagi Grimberg
2015-09-03 16:28 ` [PATCH 2/4] block: Refuse request/bio merges with gaps in the integrity payload Sagi Grimberg
2015-09-03 16:28 ` [PATCH 3/4] block: Refuse adding appending a gaped integrity page to a bio Sagi Grimberg
2015-09-04 3:24 ` Martin K. Petersen
2015-09-06 7:46 ` Sagi Grimberg [this message]
2015-09-08 18:24 ` Martin K. Petersen
2015-09-10 9:10 ` Sagi Grimberg
2015-09-10 22:22 ` Martin K. Petersen
2015-09-13 7:53 ` Sagi Grimberg
2015-09-03 16:28 ` [PATCH 4/4] block: Copy a user iovec if it includes gaps Sagi Grimberg
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=55EBEF5B.3030608@dev.mellanox.co.il \
--to=sagig@dev.mellanox.co.il \
/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