Files
linux/fs
Josef Bacik 594831c4b2 Btrfs: fix potential race in extent buffer freeing
This sounds sort of impossible but it is the only thing I can think of and
at the very least it is theoretically possible so here it goes.

If we are in try_release_extent_buffer we will check that the ref count on
the extent buffer is 1 and not under IO, and then go down and clear the tree
ref.  If between this check and clearing the tree ref somebody else comes in
and grabs a ref on the eb and the marks it dirty before
try_release_extent_buffer() does it's tree ref clear we can end up with a
dirty eb that will be freed while it is still dirty which will result in a
panic.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
2012-07-23 16:28:09 -04:00
..
2012-05-29 23:28:34 -04:00
2012-05-29 23:28:34 -04:00
2012-05-29 23:28:33 -04:00
2012-07-11 16:04:47 -07:00
2012-05-29 23:28:33 -04:00
2012-05-29 23:28:33 -04:00
2012-03-20 21:29:52 -04:00
2012-03-20 21:29:38 -04:00
2012-05-29 16:22:23 -07:00
2012-03-20 21:29:46 -04:00
2012-03-20 21:29:46 -04:00
…
2012-05-29 23:28:41 -04:00
2012-06-01 12:12:00 -04:00
…
2012-03-20 21:29:38 -04:00
…
…
…
2012-05-29 23:28:41 -04:00
…
2012-05-29 23:28:41 -04:00
2012-06-13 21:16:42 +02:00
…
2012-05-29 23:28:29 -04:00
…