[PATCH] Optimize wait_sb_inodes()

Daniel Phillips daniel.raymond.phillips at gmail.com
Thu Jun 27 00:22:18 PDT 2013

On Wed, Jun 26, 2013 at 10:18 PM, OGAWA Hirofumi
<hirofumi at mail.parknet.co.jp> wrote:
> ...vfs can't know the data is whether after sync point or before
> sync point, and have to wait or not. FS is using the behavior like
> data=journal has tracking of those already, and can reuse it.

Clearly showing why the current interface is inefficient.

In the old days, core liked to poke its nose into the buffers of
every fs too, and those days are thankfully gone (thanks to
akpm iirc). Maybe the days of core sticking its nose into the
the inode dirty state of every fs are soon to end as well.

Why does core even need to know about the inodes a fs is
using? Maybe for some filesystems it saves implementation
code, but for Tux3 it just wastes CPU and adds extra code.



More information about the Tux3 mailing list