[rfc][patches] remove ->prepare_write

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>, <linux-fsdevel@...>, <mhalcrow@...>, <phillip@...>, <sfrench@...>, <dhowells@...>
Date: Monday, November 12, 2007 - 3:12 am

Hi,

These are a set of patches to convert the last few filesystems to use
the new deadlock-free write aops, and remove the core code to handle the
legacy write path.

I don't really have setups to sufficiently test these filesystems. So I
would really appreciate if filesystem maintainers can pick these patches
up, bear with my bugs, and send them upstream when they're ready.

The benefit to you is that you get to use the fast and well tested code 
paths! Actually, it is interesting: several of the conversions I've done
(including these) take a relatively naive aproach of simply prefilling
the whole page if it isn't uptodate. It might be the case that some
filesystems actually prefer to do something similar to the legacy
double-copy path which they're being converted away from! (then again,
it would be probably even more ideal to have simple sub-page state
tracking structures).

There is still quite a lot of work left to be done. Several filesystems
still use prepare_write() helpers, and when they're fixed up, all the
old helpers themselves have to be removed. But this step is probably
most important to getting rid of complex code.



-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[rfc][patches] remove ->prepare_write, Nick Piggin, (Mon Nov 12, 3:12 am)
[rfc][patch 5/5] remove prepare_write, Nick Piggin, (Mon Nov 12, 3:23 am)
[rfc][patch 4/5] rd: rewrite rd, Nick Piggin, (Mon Nov 12, 3:20 am)
[rfc][patch 2/5] cifs: new aops, Nick Piggin, (Mon Nov 12, 3:14 am)
[rfc][patch 3/5] afs: new aops, Nick Piggin, (Mon Nov 12, 3:14 am)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Mon Nov 12, 11:29 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Mon Nov 12, 8:15 pm)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Mon Nov 12, 8:30 pm)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Mon Nov 12, 8:44 pm)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Tue Nov 13, 6:56 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Wed Nov 14, 12:24 am)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Wed Nov 14, 8:18 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Wed Nov 14, 11:18 am)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Wed Nov 14, 11:57 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Wed Nov 14, 5:32 pm)
Re: [rfc][patch 3/5] afs: new aops, David Howells, (Thu Nov 15, 8:15 am)
Re: [rfc][patch 3/5] afs: new aops, Nick Piggin, (Thu Nov 15, 5:37 pm)
[rfc][patch 1/5] ecryptfs new aops, Nick Piggin, (Mon Nov 12, 3:13 am)