Re: [patch 3/4] fs: introduce inode dirty state helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 23, 2010 at 12:25 AM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
> On Tue, Nov 23, 2010 at 12:07:33AM +1100, Nick Piggin wrote:
>> Inode dirty state cannot be securely tested without participating properly
>> in the inode writeback protocol. Some filesystems need to check this state,
>> so break out the code into helpers and make them available.
>>
>> This could also be used to reduce strange interactions between background
>> writeback and fsync. Currently if we fsync a single page in a file, the
>> entire file gets requeued to the back of the background IO list, even if
>> it is due for writeout and has a large number of pages. That's left for
>> a later time.
>
> If you want filesystems to use the helpers they need to be exported,
> and good kerneldoc comments so that filesystem writers know what they
> need to do.

You're right, of course. I sent a half-baked patch there sorry. (Well, it should
be working quite well, but it needs exports and decent kerneldoc as you say).

Will send an update tomorrow.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux