Re: [patch 2/5] fs: introduce new aops and infrastructure

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mark Fasheh
Date: Wednesday, March 14, 2007 - 11:11 pm

On Thu, Mar 15, 2007 at 05:36:42AM +0100, Nick Piggin wrote:

I don't see a problem with having a flags argument. It could give us some
flexibility in the future which would otherwise require a much bigger
update. If we found out that we needed intr, it could just be a flag.



Yeah - so long as we're not taking a page fault between write_begin /
write_end, there's no reason for the cluster locks to be taken and dropped
within the individual callbacks, which means we can just take them in
write_begin (where page lock ordering is possible) and hold them until
write_end is called.



Great, thanks - it just occured to me that I should be holding the clusters
locks across the entire copy (as I point out above), so I'll have a slightly
updated version of this patch for you soon :)
	--Mark

--
Mark Fasheh
Senior Software Developer, Oracle
mark.fasheh@oracle.com
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 1/5] fs: add an iovec iterator, Nick Piggin, (Wed Mar 14, 6:38 am)
[patch 2/5] fs: introduce new aops and infrastructure, Nick Piggin, (Wed Mar 14, 6:38 am)
[patch 3/5] fs: convert some simple filesystems, Nick Piggin, (Wed Mar 14, 6:38 am)
[patch 4/5] ext2: convert to new aops, Nick Piggin, (Wed Mar 14, 6:38 am)
[patch 5/5] ext3: convert to new aops, Nick Piggin, (Wed Mar 14, 6:38 am)
Re: [patch 1/5] fs: add an iovec iterator, Nick Piggin, (Wed Mar 14, 6:51 am)
Re: [patch 2/5] fs: introduce new aops and infrastructure, Dmitriy Monakhov, (Wed Mar 14, 2:28 pm)
Re: [patch 2/5] fs: introduce new aops and infrastructure, Mark Fasheh, (Wed Mar 14, 11:11 pm)
Re: [patch 2/5] fs: introduce new aops and infrastructure, Dmitriy Monakhov, (Thu Mar 15, 2:44 am)
Re: [patch 2/5] fs: introduce new aops and infrastructure, Steven Whitehouse, (Thu Mar 15, 9:24 am)
Re: [patch 2/5] fs: introduce new aops and infrastructure, Trond Myklebust, (Thu Mar 15, 1:06 pm)