Re: [2.6.26 patch] fuse: add flag to turn on big writes

From: Szabolcs Szakacsits
Date: Fri May 09 2008 - 08:46:29 EST



On Fri, 9 May 2008, Miklos Szeredi wrote:

> From: Miklos Szeredi <mszeredi@xxxxxxx>
>
> Prior to 2.6.26 fuse only supported single page write requests. In
> theory all fuse filesystem should be able support bigger than 4k
> writes, as there's nothing in the API to prevent it. Unfortunately
> there's a known case in NTFS-3G where big writes cause filesystem
> corruption. There could also be other filesystems, where the lack of
> testing with big write requests would result in bugs.
>
> To prevent such problems on a kernel upgrade, disable big writes by
> default, but let filesystems set a flag to turn it on.
>
> Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxx>
> CC: Szabolcs Szakacsits <szaka@xxxxxxxxxxx>

Big thanks Miklos!

Acked-by: Szabolcs Szakacsits <szaka@xxxxxxxxxxx>

Szaka

--
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/