[Linux-stable-mirror] [PATCH 4.14 065/193] btrfs: change how we decide to commit transactions during flushing