alistair23-linux/fs/jfs
Dave Kleikamp 4aa0d230c2 JFS: call io_schedule() instead of schedule() to avoid deadlock
The introduction of Jens Axboe's explicit i/o plugging patches introduced a
deadlock in jfs.  This was caused by the process initiating I/O not
unplugging the queue before waiting on the commit thread.  The commit
thread itself was waiting for that I/O to complete.  Calling io_schedule()
rather than schedule() unplugs the I/O queue avoiding the deadlock, and it
appears to be the right function to call in any case.

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
2007-01-17 21:18:35 -06:00
..
acl.c
endian24.h
file.c
inode.c JFS: Add lockdep annotations 2007-01-09 14:14:48 -06:00
ioctl.c [PATCH] severing fs.h, radix-tree.h -> sched.h 2006-12-04 02:00:24 -05:00
jfs_acl.h
jfs_btree.h
jfs_debug.c
jfs_debug.h
jfs_dinode.h
jfs_dmap.c JFS: Add lockdep annotations 2007-01-09 14:14:48 -06:00
jfs_dmap.h
jfs_dtree.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
jfs_dtree.h
jfs_extent.c
jfs_extent.h
jfs_filsys.h JFS: Fix conflicting superblock flags 2006-12-06 17:48:32 -06:00
jfs_imap.c JFS: Add lockdep annotations 2007-01-09 14:14:48 -06:00
jfs_imap.h
jfs_incore.h JFS: Add lockdep annotations 2007-01-09 14:14:48 -06:00
jfs_inode.c
jfs_inode.h
jfs_lock.h JFS: call io_schedule() instead of schedule() to avoid deadlock 2007-01-17 21:18:35 -06:00
jfs_logmgr.c [PATCH] Add include/linux/freezer.h and move definitions from sched.h 2006-12-07 08:39:27 -08:00
jfs_logmgr.h
jfs_metapage.c JFS: call io_schedule() instead of schedule() to avoid deadlock 2007-01-17 21:18:35 -06:00
jfs_metapage.h
jfs_mount.c
jfs_superblock.h
jfs_txnmgr.c JFS: call io_schedule() instead of schedule() to avoid deadlock 2007-01-17 21:18:35 -06:00
jfs_txnmgr.h
jfs_types.h
jfs_umount.c
jfs_unicode.c
jfs_unicode.h
jfs_uniupr.c
jfs_xattr.h
jfs_xtree.c JFS: Avoid BUG() on a damaged file system 2007-01-09 08:57:34 -06:00
jfs_xtree.h
Makefile
namei.c JFS: Add lockdep annotations 2007-01-09 14:14:48 -06:00
resize.c
super.c [PATCH] fs/*: trivial vsnprintf() conversion 2006-12-07 08:39:35 -08:00
symlink.c
xattr.c JFS: Remove redundant xattr permission checking 2006-11-02 10:50:40 -06:00