From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Mason Subject: [PATCH 0 of 7] O_DIRECT locking rework Date: Wed, 01 Nov 2006 11:08:02 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: akpm@osdl.org, zach.brown@oracle.com, Suparna Bhattacharya Return-path: Received: from rgminet01.oracle.com ([148.87.113.118]:13774 "EHLO rgminet01.oracle.com") by vger.kernel.org with ESMTP id S1946931AbWKAQYt (ORCPT ); Wed, 1 Nov 2006 11:24:49 -0500 To: linux-fsdevel@vger.kernel.org Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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