From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Bart Van Assche <bvanassche@acm.org>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
linux-scsi@vger.kernel.org, john.garry@huawei.com,
stable@vger.kernel.org
Subject: Re: [PATCH] scsi: t10-pi: Return correct ref tag when queue has no integrity profile
Date: Wed, 05 Dec 2018 23:17:14 -0500 [thread overview]
Message-ID: <yq1mupjp9v9.fsf@oracle.com> (raw)
In-Reply-To: <4f705b13-84aa-b8bd-9c92-ab619a653f9c@acm.org> (Bart Van Assche's message of "Wed, 5 Dec 2018 07:00:58 -0800")
Bart,
> Had you considered to use lower_32_bits() instead of "0xffffffff"?
> That would to avoid that reviewers have to count the 'f'-s to verify
> correctness of t10_pi_ref_tag().
I hadn't. I guess I tend to think of lower_32_bits() as something you do
to pointers, not to block numbers.
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2018-12-06 4:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <yq1ftvcsoes.fsf@oracle.com>
2018-12-05 2:31 ` [PATCH] scsi: t10-pi: Return correct ref tag when queue has no integrity profile Martin K. Petersen
2018-12-05 4:24 ` Bart Van Assche
2018-12-05 14:04 ` Martin K. Petersen
2018-12-05 15:00 ` Bart Van Assche
2018-12-06 4:17 ` Martin K. Petersen [this message]
2018-12-06 12:04 ` John Garry
2018-12-06 12:16 ` chenxiang (M)
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=yq1mupjp9v9.fsf@oracle.com \
--to=martin.petersen@oracle.com \
--cc=bvanassche@acm.org \
--cc=john.garry@huawei.com \
--cc=linux-scsi@vger.kernel.org \
--cc=stable@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).