linux-sg2042/drivers/block
Linus Torvalds 09c0dc6862 Revert "[PATCH] kthread: update loop.c to use kthread"
This reverts commit c7b2eff059.

Hugh Dickins explains:

 "It seems too little tested: "losetup -d /dev/loop0" fails with
  EINVAL because nothing sets lo_thread; but even when you patch
  loop_thread() to set lo->lo_thread = current, it can't survive
  more than a few dozen iterations of the loop below (with a tmpfs
  mounted on /tst):

	j=0
	cp /dev/zero /tst
	while :
	do
	    let j=j+1
	    echo "Doing pass $j"
	    losetup /dev/loop0 /tst/zero
	    mkfs -t ext2 -b 1024 /dev/loop0 >/dev/null 2>&1
	    mount -t ext2 /dev/loop0 /mnt
	    umount /mnt
	    losetup -d /dev/loop0
	done

  it collapses with failed ioctl then BUG_ON(!bio).

  I think the original lo_done completion was more subtle and safe
  than the kthread conversion has allowed for."

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-26 11:55:42 -07:00
..
aoe [NET]: Clean up skb_linearize 2006-06-17 21:30:16 -07:00
paride [PATCH] drivers/block/paride/pd.c: fix an off-by-one error 2006-03-28 09:16:03 -08:00
DAC960.c [SCSI] fix (unlikely) memory leak in DAC960 driver 2006-05-20 09:23:23 -05:00
DAC960.h [PATCH] DAC960: add support for Mylex AcceleRAID 4/5/600 2005-05-05 16:36:43 -07:00
Kconfig [PATCH] frv: initrd is grossly broken on frv (never built) 2006-06-23 07:42:55 -07:00
Makefile [PATCH] block: floppy98 removal, really. 2006-03-24 07:33:26 -08:00
acsi.c [PATCH] Add block_device_operations.getgeo block device method 2006-01-08 20:13:54 -08:00
acsi_slm.c [PATCH] drivers/block/acsi_slm.c: size_t can't be < 0 2006-03-28 09:16:03 -08:00
amiflop.c [PATCH] m68k: introduce irq controller 2006-06-25 10:00:57 -07:00
ataflop.c [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
cciss.c [PATCH] CCISS: tidy up product table indentation 2006-06-25 10:01:22 -07:00
cciss.h [PATCH] CCISS: request all PCI resources 2006-06-25 10:01:21 -07:00
cciss_cmd.h [PATCH] cciss: direct lookup for command completions 2005-09-13 08:22:30 -07:00
cciss_scsi.c [SCSI] fix up request buffer reference in various scsi drivers 2006-06-06 11:07:25 -04:00
cciss_scsi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqarray.c [PATCH] cpqarray section fix 2006-06-25 10:01:06 -07:00
cpqarray.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cryptoloop.c [CRYPTO]: Use CRYPTO_TFM_REQ_MAY_SLEEP where appropriate 2005-09-01 17:43:25 -07:00
floppy.c [PATCH] powerpc: Use check_legacy_ioport() on ppc32 too. 2006-04-28 21:04:55 +10:00
ida_cmd.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ida_ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
loop.c Revert "[PATCH] kthread: update loop.c to use kthread" 2006-06-26 11:55:42 -07:00
nbd.c [PATCH] nbd: kill obsolete changelog, add GPL 2006-06-25 10:01:06 -07:00
pktcdvd.c [PATCH] mempool: use common mempool kmalloc allocator 2006-03-26 08:56:59 -08:00
ps2esdi.c [PATCH] Fix drivers/block/ps2esdi.c compile 2006-01-16 20:24:45 -08:00
rd.c [PATCH] set_page_dirty() return value fixes 2006-03-24 07:33:26 -08:00
smart1,2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
swim3.c [PATCH] powerpc: Remove device_node addrs/n_addr 2006-01-09 14:53:55 +11:00
swim_iop.c [PATCH] drivers/block: fix-up schedule_timeout() usage 2005-09-10 10:06:38 -07:00
sx8.c Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 2006-01-09 18:41:42 -08:00
ub.c [PATCH] ub: random cleanups 2006-06-21 15:04:14 -07:00
umem.c [PATCH] Replace 0xff.. with correct DMA_xBIT_MASK 2006-03-28 09:16:07 -08:00
viodasd.c [PATCH] powerpc: update iSeries viodasd device-tree entries 2006-05-19 14:35:28 +10:00
xd.c [PATCH] drivers/block: Use ARRAY_SIZE macro 2006-01-08 20:14:08 -08:00
xd.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
z2ram.c [PATCH] vfree and kfree cleanup in drivers/ 2005-09-10 10:06:30 -07:00