• J
    Btrfs: async delalloc flushing under space pressure · e3ccfa98
    Josef Bacik 提交于
    This patch moves the delalloc flushing that occurs when we are under space
    pressure off to a async thread pool.  This helps since we only free up
    metadata space when we actually insert the extent item, which means it takes
    quite a while for space to be free'ed up if we wait on all ordered extents.
    However, if space is freed up due to inline extents being inserted, we can
    wake people who are waiting up early, and they can finish their work.
    Signed-off-by: NJosef Bacik <jbacik@redhat.com>
    Signed-off-by: NChris Mason <chris.mason@oracle.com>
    e3ccfa98
disk-io.c 68.5 KB