Will currently compile only for x86, since down_wq
support isn't implemented on other archs.
Regards
Suparna
05aiowrdown_wq.patch
....................
filemap.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -ur -X /home/kiran/dontdiff linux-2.5.68/mm/filemap.c linux-aio-2568/mm/filemap.c
--- linux-2.5.68/mm/filemap.c Mon Apr 21 23:30:40 2003
+++ linux-aio-2568/mm/filemap.c Tue Apr 22 00:28:55 2003
@@ -1786,7 +1851,8 @@
BUG_ON(iocb->ki_pos != pos);
- down(&inode->i_sem);
+ if ((err = down_wq(&inode->i_sem, current->io_wait)))
+ return err;
err = generic_file_aio_write_nolock(iocb, &local_iov, 1,
&iocb->ki_pos);
up(&inode->i_sem);
-- Suparna Bhattacharya (suparna@in.ibm.com) Linux Technology Center IBM Software Labs, India- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/