]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: copy everything if we've created an inline extent
authorJosef Bacik <jbacik@fusionio.com>
Thu, 28 Feb 2013 18:23:38 +0000 (13:23 -0500)
committerJosef Bacik <jbacik@fusionio.com>
Thu, 28 Feb 2013 18:33:20 +0000 (13:33 -0500)
commitdc440d10edc90c470ec7119f8889bee98388fdd3
treec001d454533e7d3b262a20ef4b6f2703d5f69b79
parentd45fc1d87a0bb38b4c7442ac286731a1344d1e72
Btrfs: copy everything if we've created an inline extent

I noticed while looking into a tree logging bug that we aren't logging inline
extents properly.  Since this requires copying and it shouldn't happen too often
just force us to copy everything for the inode into the tree log when we have an
inline extent.  With this patch we have valid data after a crash when we write
an inline extent.  Thanks,

Cc: stable@vger.kernel.org
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/inode.c