linux/drivers/staging/hv
Arnd Bergmann 6e9624b8ca block: push down BKL into .open and .release
The open and release block_device_operations are currently
called with the BKL held. In order to change that, we must
first make sure that all drivers that currently rely
on this have no regressions.

This blindly pushes the BKL into all .open and .release
operations for all block drivers to prepare for the
next step. The drivers can subsequently replace the BKL
with their own locks or remove it completely when it can
be shown that it is not needed.

The functions blkdev_get and blkdev_put are the only
remaining users of the big kernel lock in the block
layer, besides a few uses in the ioctl code, none
of which need to serialize with blkdev_{get,put}.

Most of these two functions is also under the protection
of bdev->bd_mutex, including the actual calls to
->open and ->release, and the common code does not
access any global data structures that need the BKL.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
2010-08-07 18:25:34 +02:00
..
blkvsc.c Staging: hv: rename StorVsc.c to storvsc.c 2010-05-11 11:36:17 -07:00
blkvsc_drv.c block: push down BKL into .open and .release 2010-08-07 18:25:34 +02:00
channel.c staging: hv: Fix error checking in channel.c 2010-05-14 13:57:56 -07:00
channel.h Staging: hv: rename ChannelMgmt.c and .h to channel_mgmt.c and .h 2010-05-11 11:36:17 -07:00
channel_interface.c Staging: hv: rename VmbusPrivate.h to vmbus_private.h 2010-05-11 11:36:17 -07:00
channel_interface.h Staging: hv: rename VmbusApi.h to vmbus_api.h 2010-05-11 11:36:17 -07:00
channel_mgmt.c staging: hv: Fix race condition on vmbus channel initialization 2010-06-30 08:18:14 -07:00
channel_mgmt.h Staging: hv: rename VmbusPacketFormat.h to vmbus_packet_format.h 2010-05-11 11:36:18 -07:00
connection.c Staging: hv: rename VmbusPrivate.h to vmbus_private.h 2010-05-11 11:36:17 -07:00
hv.c Staging: hv: rename VmbusPrivate.h to vmbus_private.h 2010-05-11 11:36:17 -07:00
hv.h Staging: hv: rename Hv.h to hv.h 2010-05-11 11:36:16 -07:00
hv_api.h Staging: fix assorted typos all over the place 2009-12-11 12:23:20 -08:00
hv_utils.c Staging: hv: fix hv_utils module to properly autoload 2010-06-30 08:18:15 -07:00
Kconfig staging: hv: make the block driver depend on LBDAF 2010-05-11 11:36:14 -07:00
logging.h staging: hv: remove ASSERT in logging.h 2010-05-11 11:36:15 -07:00
Makefile Staging: hv: rename ChannelInterface.c and .h to channel_interface.c and .h 2010-05-11 11:36:17 -07:00
netvsc.c Staging: hv: rename RndisFilter.c and .h to rndis_filter.c and .h 2010-05-11 11:36:17 -07:00
netvsc.h Staging: hv: rename VmbusPacketFormat.h to vmbus_packet_format.h 2010-05-11 11:36:18 -07:00
netvsc_api.h Staging: hv: rename VmbusApi.h to vmbus_api.h 2010-05-11 11:36:17 -07:00
netvsc_drv.c Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
osd.c staging: hv: Corrected all header comment formats kernel-doc format 2010-05-11 11:35:32 -07:00
osd.h Staging: hv: fix oops in vmbus - missing #include 2009-10-30 14:47:43 -07:00
ring_buffer.c Staging: hv: rename RingBuffer.c and .h to ring_buffer.c and .h 2010-05-11 11:36:16 -07:00
ring_buffer.h Staging: hv: rename RingBuffer.c and .h to ring_buffer.c and .h 2010-05-11 11:36:16 -07:00
rndis.h Staging: hv: trivial whitespace fixes found by checkpatch.pl 2010-05-11 11:35:36 -07:00
rndis_filter.c Merge staging-next tree into Linus's latest version 2010-05-21 12:48:55 -07:00
rndis_filter.h Staging: hv: rename RndisFilter.c and .h to rndis_filter.c and .h 2010-05-11 11:36:17 -07:00
storvsc.c Staging: hv: rename VmbusPacketFormat.h to vmbus_packet_format.h 2010-05-11 11:36:18 -07:00
storvsc_api.h Staging: hv: rename VmbusApi.h to vmbus_api.h 2010-05-11 11:36:17 -07:00
storvsc_drv.c Staging: hv: storvsc module descriptions 2010-05-11 14:15:34 -07:00
TODO Staging: hv: use network device stats 2010-05-11 11:35:34 -07:00
utils.h staging: hv: Added heartbeat functionality to hv_utils 2010-05-17 16:32:30 -07:00
version_info.h staging: hv: Added heartbeat functionality to hv_utils 2010-05-17 16:32:30 -07:00
vmbus.c Staging: Use kmemdup 2010-05-17 16:31:15 -07:00
vmbus.h staging: hv: Fix race condition on vmbus channel initialization 2010-06-30 08:18:14 -07:00
vmbus_api.h Staging: hv: rename VmbusApi.h to vmbus_api.h 2010-05-11 11:36:17 -07:00
vmbus_channel_interface.h Staging: hv: rename VmbusChannelInterface.h to vmbus_channel_interface.h 2010-05-11 11:36:17 -07:00
vmbus_drv.c staging: hv: Fix race condition on vmbus channel initialization 2010-06-30 08:18:14 -07:00
vmbus_packet_format.h Staging: hv: rename VmbusPacketFormat.h to vmbus_packet_format.h 2010-05-11 11:36:18 -07:00
vmbus_private.h Staging: hv: rename VmbusPrivate.h to vmbus_private.h 2010-05-11 11:36:17 -07:00
vstorage.h Staging: hv: fix spaces coding style issue in vstorage.h 2010-05-11 11:35:38 -07:00