Re: [PATCH 07/21] Btrfs: only check delayed ref usage in should_end_transaction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 29, 2017 at 03:43:51PM -0400, Josef Bacik wrote:
> We were only doing btrfs_check_space_for_delayed_refs() if the metadata
> space was full, ie we couldn't allocate chunks.  This assumes we'll be
> able to allocate chunks during transaction commit, but since nothing
> does a LIMIT flush during the transaction commit this won't actually
> happen unless we happen to run shy of actual space.  We already take
> into account a full fs in btrfs_check_space_for_delayed_refs() so just
> kill this extra check to make sure we're ending the transaction when we
> need to.
> 
> Signed-off-by: Josef Bacik <jbacik@xxxxxx>

Reviewed-by: David Sterba <dsterba@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux