[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1vblhbmcv.fsf@sermon.lab.mkp.net>
Date: Thu, 11 Dec 2014 22:03:44 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Long Li <longli@...rosoft.com>
Cc: "Martin K. Petersen" <martin.petersen@...cle.com>,
KY Srinivasan <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
"JBottomley\@parallels.com" <JBottomley@...allels.com>,
"linux-scsi\@vger.kernel.org" <linux-scsi@...r.kernel.org>,
"devel\@linuxdriverproject.org" <devel@...uxdriverproject.org>,
"linux-kernel\@vger.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] scsi:storvsc enable reading from VPD pages on SPC-2
>>>>> "Long" == Long Li <longli@...rosoft.com> writes:
>> Handle the issues or handle WRITE SAME(10/16)?
Long> With this patch, the SCSI layer will be able to correctly send
Long> WRITE_SAME_16 to the Hyper-V host. It will not send WRITE_SAME_10:
Long> it has been disabled in the driver template. Do you want me to
Long> send another patch with these details?
no_write_same prevents us from attempting to use WRITE SAME(10/16) to
zero block ranges.
This is completely orthogonal to using the WRITE SAME(10/16) commands
with the UNMAP bit set to discard block ranges. The latter is controlled
by the logical block provisioning heuristics and is not affected by
no_write_same at all.
--
Martin K. Petersen Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists