Files
linux-legacy/include/linux
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
..
2006-01-08 20:14:02 -08:00
2006-01-13 09:12:21 -08:00
2006-03-28 09:16:05 -08:00
2006-03-23 07:38:09 -08:00
2006-06-26 09:58:36 -07:00
2006-05-08 16:32:05 -07:00
2006-06-08 15:14:23 -07:00
2006-06-23 02:07:36 -07:00
2006-03-31 12:18:54 -08:00
2006-06-25 10:01:19 -07:00
2006-03-26 08:56:56 -08:00
2006-06-25 10:01:06 -07:00
2006-06-26 09:58:34 -07:00
2006-03-20 17:09:11 -08:00
2006-03-20 22:41:23 -08:00
2006-01-06 13:24:54 -08:00
2006-06-26 01:51:23 -04:00
2006-06-20 20:24:58 -07:00
2006-02-08 01:03:52 -05:00
2006-01-06 13:24:29 -08:00
2006-03-20 22:21:10 -08:00
2006-06-21 12:40:49 -07:00
2006-06-23 07:43:08 -07:00
2006-06-26 09:58:18 -07:00
2006-06-05 12:29:17 -07:00
2006-03-22 07:53:57 -08:00
2006-06-25 10:01:13 -07:00
2006-03-23 07:38:14 -08:00
2006-03-23 07:38:14 -08:00
2006-03-20 13:44:40 -05:00
2006-06-25 06:38:11 -04:00
2006-06-25 06:27:31 -04:00
2006-06-23 07:42:46 -07:00
2006-06-25 10:01:09 -07:00
2006-06-22 22:11:56 -04:00
2006-06-22 15:05:56 -07:00
2006-03-27 08:44:48 -08:00
2006-05-04 06:55:12 +02:00
2006-06-23 07:42:49 -07:00
2006-06-25 10:01:06 -07:00
2006-06-25 10:01:06 -07:00
2006-06-25 10:01:14 -07:00
2006-06-17 21:29:55 -07:00
2006-03-23 07:38:12 -08:00
2006-04-02 00:08:05 -05:00
2006-06-23 02:07:42 -07:00
2006-03-28 09:16:05 -08:00
2006-06-23 07:43:06 -07:00
2006-06-26 10:51:09 -07:00
2006-03-31 12:18:56 -08:00
2006-01-12 14:06:38 -08:00
2006-01-10 08:01:59 -08:00
2006-03-23 07:38:14 -08:00
2006-03-23 07:12:57 -05:00