On Thu, Apr 05, 2007 at 04:13:05AM +0200, Nick Piggin wrote:
> > On a related note - what's the rules for a perform_write() implementation?
> > I noticed that wasn't documented with write_begin and write_end and
> > I don't see any other filesystem implementing it yet....
> 
> Ah, so it isn't, thanks I'll document it. (today I'm looking at doing a
> simple_perform_write and perhaps another easy one, which should also help
> filesystem maintainers to have a reference).

I think ->perform_write should go away.  It's really just duplicating
->write for the !O_DIRECT case.  Instead we should factor the remaining
bits of generic_file_aio_write into nice helpers so that people that don't
want to use the generic part can build their own ->write from these pieces.

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

Reply via email to