Hello everyone, Another spin of the O_DIRECT code. This fixes the BUG() Badari was hitting during his big fsx-linux run...looks like I can't blame Nick for that afterall. I adapted Russell Cattelan's patch to get rid of DIO_OWN_LOCKING. __blkdev_direct_IO now takes flags for which optmizations and locking functionality you want to use. It fixes lock inversion problems when using ext3, and updates reiserfs to work with the new code. Both reiser and ext3 are changed to skip the orphaned inode step for undoing an O_DIRECT extend after a crash. There are lots of situations the orphan inodes were not covering (hole filling, aio), but I can add it back if people are attached to it. It isn't failing any tests here, so this is ready for real review. -chris - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html