• J
    Btrfs: delay iput when deleting a block group · 455757c3
    Josef Bacik 提交于
    I kept getting warnings from evict because we were calling
    btrfs_start_transaction() with a transaction already started when doing a
    balance.  This is because we remove a block group which requires a transaction,
    and the put the last reference on the cache inode.  Instead of doing this we
    need to delay the iput so it is done not within a transaction having started.
    This gets rid of our warnings.  Thanks,
    Signed-off-by: NJosef Bacik <josef@redhat.com>
    455757c3
extent-tree.c 195.8 KB