Skip to content

Enable discard on Hyper-V

Sitsofe Wheeler linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Add quirk for forcing logical block provisioning testsdrivers/scsi/scsi_scan.c drivers/scsi/sd.c drivers/scsi/storvsc_drv.c +2 more+24 -10 replies
2/3storvsc: Add Hyper-V logical block provisioning testsdrivers/scsi/storvsc_drv.c+3 -72 replies
3/3Make LBP quirk skip lbpme checks testsdrivers/scsi/sd.c+2 -223 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchMartin K. PetersenK. Y. Srinivasan
1/3Original-patch-by
2/3Original-patch-by
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Enable discard on Hyper-V
Quoted 5 lines · Sitsofe Wheeler
Quoted 4 lines · Christoph Hellwig
Quoted 2 lines · Sitsofe Wheeler

I'm not sure this alone will work - won't sdev_bflags/bflags have already been built at this point?

Quoted 9 lines
Quoted 3 lines

They've been built up, but we can still or new values into it. It looks fine to me from review, but if you can test it on an actualy hypverv setup that would be valueable feedback.

The previous patches didn't work for me with a Windows 2012 R2 host with a 3.16.0-rc6.x86_64-00076-g2f7d2ec-dirty guest. After applying

Quoted 2 lines

term project, this late in the 3.17 cycle I'd just like to merge something that gets discards on hyperv to work.

OK how about the following patches:

Sitsofe Wheeler (3):
[SCSI] Add quirk for forcing logical block provisioning tests [SCSI] storvsc: Add Hyper-V logical block provisioning quirk [SCSI] Make LBP quirk skip lbpme checks

 drivers/scsi/scsi_scan.c    |  4 +++-
 drivers/scsi/sd.c           | 12 ++++++++++--
 drivers/scsi/storvsc_drv.c  |  6 ++++++
 include/scsi/scsi_device.h  |  1 +
 include/scsi/scsi_devinfo.h |  2 ++
 5 files changed, 22 insertions(+), 3 deletions(-)
Signature · 4 lines
1.9.3

-- 
Sitsofe | http://sucs.org/~sits/