]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: add fragment=* debug mount option
authorJosef Bacik <jbacik@fb.com>
Wed, 23 Sep 2015 18:54:14 +0000 (14:54 -0400)
committerChris Mason <clm@fb.com>
Thu, 22 Oct 2015 01:51:43 +0000 (18:51 -0700)
commitd71eb3e7c5e66d08bf049f7abbbb398ea2ca49ac
tree6dcb3498d7b964a19562dccf8322483359ede3ef
parentae8c89401ca09fcff224a886fd911117a7527b4c
Btrfs: add fragment=* debug mount option

In tracking down these weird bitmap problems it was helpful to artificially
create an extremely fragmented file system.  These mount options let us either
fragment data or metadata or both.  With these options I could reproduce all
sorts of weird latencies and hangs that occur under extreme fragmentation and
get them fixed.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/free-space-cache.c
fs/btrfs/super.c
fs/btrfs/tests/free-space-tests.c