Re: [patch 0/3] add perform_write to a_ops

From: Christoph Hellwig
Date: Mon Feb 04 2008 - 14:39:56 EST


On Mon, Feb 04, 2008 at 06:04:10PM +0100, Miklos Szeredi wrote:
> a_ops->perform_write() was left out from Nick Piggin's new a_ops
> patchset, as it was non-essential, and postponed for later inclusion.
>
> This short series reintroduces it, but only adds the fuse
> implementation and not simple_perform_write(), which I'm not sure
> would be a significant improvement.
>
> This allows larger than 4k buffered writes for fuse, which is one of
> the most requested features.
>
> This goes on top of the "fuse: writable mmap" patches.

Please don't do this, but rather implement your own .aio_write. There's
very little in generic_file_aio_write that wouldn't be handle by
->perform_write and we should rather factor those up or move to higher
layers than adding this ill-defined abstraction.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/