From: Douglas Gilbert <dgilbert@interlog.com>
To: Eric Sandeen <sandeen@redhat.com>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
mkp@mkp.net, "Lukáš Czerner" <lczerner@redhat.com>
Subject: Re: [PATCH V2] scsi_debug: add LBPRZ support
Date: Sat, 10 Mar 2012 19:45:15 +0100 [thread overview]
Message-ID: <4F5BA13B.1040409@interlog.com> (raw)
In-Reply-To: <4F584BCF.7030803@redhat.com>
On 12-03-08 07:03 AM, Eric Sandeen wrote:
> Add LBPRZ support to scsi_debug; i.e. read zeros for
> unmapped blocks.
>
> Rather than checking for unmapped blocks at
> read time, this just zeroes them on the backing store
> at unmap time so it behaves the same way.
>
> This also adds a module parameter to disable it.
>
> lbprz, "unmapped blocks return 0 on read (def=1)"
>
> Signed-off-by: Eric Sandeen<sandeen@redhat.com>
> ---
>
> V2: set flag in inquiry_evpd_b2() as well, and rename *_zeroes
> type symbols to *_lbprz
>
> note, I didn't change the return value of inquiry_evpd_b2();
> that seems unrelated to this change, and should be a separate
> patch, no?
>
> Thanks,
> -Eric
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
prev parent reply other threads:[~2012-03-10 18:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-07 20:09 [PATCH] scsi_debug: add LBPRZ support Eric Sandeen
2012-03-08 1:00 ` Douglas Gilbert
2012-03-08 1:18 ` Eric Sandeen
2012-03-08 5:04 ` Martin K. Petersen
2012-03-08 6:03 ` [PATCH V2] " Eric Sandeen
2012-03-08 15:47 ` Martin K. Petersen
2012-03-08 15:48 ` Martin K. Petersen
2012-03-10 18:47 ` Douglas Gilbert
2012-03-10 18:45 ` Douglas Gilbert [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=4F5BA13B.1040409@interlog.com \
--to=dgilbert@interlog.com \
--cc=lczerner@redhat.com \
--cc=linux-scsi@vger.kernel.org \
--cc=mkp@mkp.net \
--cc=sandeen@redhat.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