summaryrefslogtreecommitdiff
path: root/ring.h
AgeCommit message (Expand)AuthorFilesLines
2013-03-16ring: don't care if we cannot active hw timestampingDaniel Borkmann1-13/+8
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+174
script>
authorJosef Bacik <jbacik@fb.com>2016-07-20 16:48:45 -0700
committerChris Mason <clm@fb.com>2016-07-20 16:58:04 -0700
commitbac357dcec2956f01df9da5365be257741b534dc (patch)
treef696c4ea2ce8b51c9fe58f9bd5c6411693f7fc2d
parent24502ebb606baa87ba7b9a097a88398bd6edd2f4 (diff)
Btrfs: avoid deadlocks during reservations in btrfs_truncate_block
The new enospc code makes it possible to deadlock if we don't use FLUSH_LIMIT during reservations inside a transaction. This enforces the correct flush type to avoid both deadlocks and assertions Signed-off-by: Chris Mason <clm@fb.com> Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat
-rw-r--r--fs/btrfs/extent-tree.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c