Skip to content

Staging: hv: Cleanup storage drivers - Phase IV

K. Y. Srinivasan lkml virtualization 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 6/621 patches 0 repliesNew
  2. v1 posting 5/618 patches 0 repliesSuperseded
  3. v1 posting 4/622 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v1 posting 3/622 patches3 repliesSuperseded
v1 posting 2/622 patches0 repliesSuperseded
v1 posting 1/622 patches0 repliesSuperseded

Patches in v1 posting 6/6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21Staging: hv: Enable blkvsc_ioctl()drivers/staging/hv/blkvsc_drv.c+3 -80 replies
2/21Staging: hv: Simplify the code for blkvsc_getgeo()drivers/staging/hv/blkvsc_drv.c+11 -730 replies
3/21Staging: hv: Introduce a common function for issuing commands to the devicedrivers/staging/hv/blkvsc_drv.c+86 -770 replies
4/21Staging: hv: Get rid of blkvsc_do_read_capacity()drivers/staging/hv/blkvsc_drv.c+39 -780 replies
5/21Staging: hv: Get rid of blkvsc_do_read_capacity16()drivers/staging/hv/blkvsc_drv.c+2 -790 replies
6/21Staging: hv: Get rid of the function blkvsc_do_flush()drivers/staging/hv/blkvsc_drv.c+14 -380 replies
7/21Staging: hv: Get rid of the state media_not_presentdrivers/staging/hv/blkvsc_drv.c+1 -80 replies
8/21Staging: hv: Get rid of the function blkvsc_revalidate_disk()drivers/staging/hv/blkvsc_drv.c+0 -170 replies
9/21Staging: hv: Simplify blkvsc_init_rw()drivers/staging/hv/blkvsc_drv.c+13 -450 replies
10/21Staging: hv: Get rid of some DPRINT_INFO() statementsdrivers/staging/hv/blkvsc_drv.c+0 -30 replies
11/21Staging: hv: Get rid of some DPRINT_DBG() callsdrivers/staging/hv/blkvsc_drv.c+0 -840 replies
12/21Staging: hv: Cleanup blkvsc_remove()drivers/staging/hv/blkvsc_drv.c+3 -120 replies
13/21Staging: hv: Cleanup storvsc_remove()drivers/staging/hv/storvsc_drv.c+2 -120 replies
14/21Staging: hv: Get rid of the code to manage removable mediadrivers/staging/hv/blkvsc_drv.c+1 -80 replies
15/21Staging: hv: Get rid of some DPRINT_ERR() callsdrivers/staging/hv/blkvsc_drv.c+3 -60 replies
16/21Staging: hv: Get rid of an unnecessary check in blkvsc_probe()drivers/staging/hv/blkvsc_drv.c+0 -50 replies
17/21Staging: hv: Cleanup blkvsc_open()drivers/staging/hv/blkvsc_drv.c+1 -90 replies
18/21Staging: hv: Fix a jump label (Cleanup) in blkvsc_drvdrivers/staging/hv/blkvsc_drv.c+6 -60 replies
19/21Staging: hv: Fix a jump label (Remove) in blkvsc_drv.cdrivers/staging/hv/blkvsc_drv.c+3 -30 replies
20/21Staging: hv: Introduce a function to map channel properties onto block device infodrivers/staging/hv/storvsc.c drivers/staging/hv/storvsc_api.h+78 -00 replies
21/21Staging: hv: Get rid of IDE details from blkvsc_drv.cdrivers/staging/hv/blkvsc_drv.c drivers/staging/hv/storvsc.c+25 -480 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RESEND][PATCH 00/21] Staging: hv: Cleanup storage drivers - Phase IV

This is a resend of this patch-set.

More cleanup. In this patch-set we deal with the following issues:

1) While a Linux guest on Hyper-V can be assigned removable media devices (DVD, floppy etc), these devices are not handled by the Hyper-V block driver. So, we cleanup all the dead code dealing with removable media devices.

2) There were multiple functions to retrieve information about the device. Since much of the code in these functions were identical, we have consolidated these functions into a single function.

3) Enable the ioctl code for handling HDIO_GET_IDENTITY

4) Cleanup the code for getting the geometry.

5) Cleanup code for retreiving device capacity; this has also fixed a bug with regards to presenting physical disks to the guest as an IDE disk.

6) General cleanup: simplify blkvsc_init_rw(), get rid of unnecessary DPRINT*() calls, get rid of unnecessary code, cleanup blkvsc_open().

7) Remove all IDE details from blkvsc_drv.c.

Regards,

K. Y