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