Re: [PATCH] Btrfs: check if items are ordered when a leaf is marked dirty

2014-04-14 Thread David Sterba
On Wed, Apr 09, 2014 at 03:37:06PM +0100, Filipe David Borba Manana wrote: To ease finding bugs during development related to modifying btree leaves in such a way that it makes its items not sorted by key anymore. Since this is an expensive check, it's only enabled if

[PATCH] Btrfs: check if items are ordered when a leaf is marked dirty

2014-04-09 Thread Filipe David Borba Manana
To ease finding bugs during development related to modifying btree leaves in such a way that it makes its items not sorted by key anymore. Since this is an expensive check, it's only enabled if CONFIG_BTRFS_FS_CHECK_INTEGRITY is set, which isn't meant to be enabled for regular users.