lkml.org 
[lkml]   [2011]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RESEND][PATCH 00/22] Staging: hv: Cleanup storage drivers - Phase IV
Date
The latest upstream merge changed struct block_device_operations:
This merge got rid of blkvsc_media_changed and introduced the
function blkvsc_check_events. This broke all the patches that
were sent after the tree was closed the last time. This is a resend of
this patch-set to account for this change in the kernel.


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


\
 
 \ /
  Last update: 2011-04-07 22:35    [W:0.088 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site