2005-03-07 01:12:10

by Andrew Morton

[permalink] [raw]
Subject: Re: [PATCH] FAT: Support synchronous update

OGAWA Hirofumi <[email protected]> wrote:
>
> Hi,
>
> These patches adds the `-o sync' and `-o dirsync' supports to fatfs.
> If user specified that option, the fatfs does traditional ordered
> updates by using synchronous writes. If compared to before, these
> patches will show a improvement of robustness I think.
>
> `-o sync' - writes all buffers out before returning from syscall.
> `-o dirsync' - writes the directory's metadata, and unreferencing
> operations of data block.
>
> remaining to be done
> fat_generic_ioctl(), fat_notify_change(),
> ATTR_ARCH of fat_xxx_write[v],
> and probably, filling hole in cont_prepare_write(),
>
> NOTE: Since fatfs doesn't have link-count, unfortunately ->rename() is
> not safe order at all. It may make the shared blocks, but user
> shouldn't lose the data by ->rename().
>
> Please apply.
>
>
> If you test this, please use attached dosfstools. This is fixing
> several bugs of dosfstools. And "2/29" patch from hpa adds new ioctl,
> the attached archive is also including the commands for testing it.
> --
> OGAWA Hirofumi <[email protected]>
>
>

OK. This email was way too big for linux-kernel, so nobody saw it.

I put the modified fatfsprogs at
http://www.zip.com.au/~akpm/linux/patches/stuff/fatfsprogs.tar.bz2 and
updated the changlog to mention that.

Is there an official place where people should go to download the modified
fatfsprogs?


2005-03-07 15:02:58

by OGAWA Hirofumi

[permalink] [raw]
Subject: Re: [PATCH] FAT: Support synchronous update

Andrew Morton <[email protected]> writes:

> OK. This email was way too big for linux-kernel, so nobody saw it.
>
> I put the modified fatfsprogs at
> http://www.zip.com.au/~akpm/linux/patches/stuff/fatfsprogs.tar.bz2 and
> updated the changlog to mention that.
>
> Is there an official place where people should go to download the modified
> fatfsprogs?

Oh, Thanks. Umm.. ok, I'll put fatfsprogs.tar.bz2 to the following for now.

http://user.parknet.co.jp/hirofumi/tmp/fatfsprogs.tar.bz2
--
OGAWA Hirofumi <[email protected]>