linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0 of 7] O_DIRECT locking rework
@ 2006-11-01 15:08 Chris Mason
  2006-11-01 15:08 ` [PATCH 1 of 7] Introduce a place holder page for the pagecache Chris Mason
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Chris Mason @ 2006-11-01 15:08 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: akpm, zach.brown, Suparna Bhattacharya

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-11-08 18:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-01 15:08 [PATCH 0 of 7] O_DIRECT locking rework Chris Mason
2006-11-01 15:08 ` [PATCH 1 of 7] Introduce a place holder page for the pagecache Chris Mason
2006-11-01 15:08 ` [PATCH 2 of 7] Change O_DIRECT to use placeholders instead of i_mutex/i_alloc_sem locking Chris Mason
2006-11-01 22:44   ` David Chinner
2006-11-01 15:08 ` [PATCH 3 of 7] DIO: don't fall back to buffered writes Chris Mason
2006-11-01 15:08 ` [PATCH 4 of 7] Turn the DIO lock_type parameter into a flags field Chris Mason
2006-11-01 22:58   ` David Chinner
2006-11-02  1:02     ` Chris Mason
2006-11-02  2:16       ` David Chinner
2006-11-08 18:48     ` Chris Mason
2006-11-01 15:08 ` [PATCH 5 of 7] Make ext3 safe for the new DIO locking rules Chris Mason
2006-11-01 15:08 ` [PATCH 6 of 7] Make reiserfs safe for " Chris Mason
2006-11-01 15:08 ` [PATCH 7 of 7] Adapt XFS to the new blockdev_direct_IO calls Chris Mason
2006-11-01 23:00   ` David Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).