linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@oracle.com>
To: linux-fsdevel@vger.kernel.org
Cc: akpm@osdl.org, zach.brown@oracle.com,
	Suparna Bhattacharya <suparna@in.ibm.com>
Subject: [PATCH 0 of 7] O_DIRECT locking rework
Date: Wed, 01 Nov 2006 11:08:02 -0400	[thread overview]
Message-ID: <patchbomb.1162397282@opti.oraclecorp.com> (raw)

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


             reply	other threads:[~2006-11-01 16:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-01 15:08 Chris Mason [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=patchbomb.1162397282@opti.oraclecorp.com \
    --to=chris.mason@oracle.com \
    --cc=akpm@osdl.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=suparna@in.ibm.com \
    --cc=zach.brown@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).