• Josef Bacik's avatar
    Btrfs: don't flush the cache inode before writing it · 016fc6a6
    Josef Bacik authored
    I noticed we had a little bit of latency when writing out the space cache
    inodes.  It's because we flush it before we write anything in case we have dirty
    pages already there.  This doesn't matter though since we're just going to
    overwrite the space, and there really shouldn't be any dirty pages anyway.  This
    makes some of my tests run a little bit faster.  Thanks,
    Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
    016fc6a6
free-space-cache.c 69.7 KB