linux-stable-rt/drivers
Alasdair G Kergon 2ca3310e78 [PATCH] device-mapper: fix md->lock deadlocks in core
This patch is an attempt to fix deadlocks discovered in the core dm.

The problems boil down to md->lock having to be held in too many places, so
I've split it into two: md->suspend_lock and md->io_lock.

suspend_lock is now held throughout dm_suspended() as well as dm_resume()
and dm_swap_table() so that these functions cannot run concurrently:
there's no requirement for that and it added complexity.

DMF_FS_LOCKED becomes redundant: DMF_SUSPENDED provides adequate
protection.

Signed-Off-By: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-28 21:46:03 -07:00
..
acorn
acpi [PATCH] acpi: Don't call acpi_sleep_prepare from acpi_power_off 2005-07-26 14:35:45 -07:00
atm [ATM]: zatm: mailbox converted to pci_alloc_consistent() 2005-07-20 12:01:46 -07:00
base
block [PATCH] cciss per disk queue 2005-07-28 08:39:01 -07:00
bluetooth
cdrom [PATCH] Update CREDITS entry and listings in source files for Jesper Juhl 2005-07-27 16:26:20 -07:00
char [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
cpufreq
crypto
dio
eisa
fc4
firmware [PATCH] PCDP: if PCDP contains parity information, use it 2005-07-28 08:39:02 -07:00
hwmon
i2c [PATCH] I2C-MPC: Restore code removed 2005-07-27 16:25:47 -07:00
ide [PATCH] pcmcia: fix many device IDs 2005-07-28 08:39:00 -07:00
ieee1394 [PATCH] turn many #if $undefined_string into #ifdef $undefined_string 2005-07-27 16:26:08 -07:00
infiniband [IB/ucm]: Clean up userspace CM 2005-07-27 20:38:56 -07:00
input
isdn [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
macintosh [PATCH] ppc64: hide CONFIG_ADB 2005-07-27 16:25:57 -07:00
mca
md [PATCH] device-mapper: fix md->lock deadlocks in core 2005-07-28 21:46:03 -07:00
media [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
message Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6 2005-07-26 13:28:47 -07:00
misc
mmc [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
mtd [PATCH] turn many #if $undefined_string into #ifdef $undefined_string 2005-07-27 16:26:08 -07:00
net [PATCH] e1000: no need for reboot notifier 2005-07-28 08:39:02 -07:00
nubus
oprofile [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
parisc
parport
pci
pcmcia [PATCH] pcmcia: disable read prefetch/write burst on old O2Micro bridges 2005-07-28 08:39:01 -07:00
pnp [PATCH] drivers/pnp/pnpbios/rsparser.c: fix compile error with PCI=n 2005-07-27 16:25:50 -07:00
s390 [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
sbus [SPARC]: Fix __KERNEL_SYSCALLS__ defining in envctrl.c and bbc_envctrl.c 2005-07-24 19:35:08 -07:00
scsi [PATCH] More qla2xxx configuration fixes 2005-07-27 22:31:35 -07:00
serial [PATCH] pcmcia: fix many device IDs 2005-07-28 08:39:00 -07:00
sh
sn
tc
telephony
usb [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
video [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
w1 [W1]: Do not use NFLOG netlink number. 2005-07-24 19:30:28 -07:00
zorro
Kconfig
Makefile