diff options
author | Josef Bacik <jbacik@fusionio.com> | 2012-07-20 22:25:24 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-07-23 22:28:09 +0200 |
commit | 51561ffec9614618f3da362f9d1b03a95b717484 (patch) | |
tree | 0698cb8f1e7de2217b3060866b91a5bd7faa8411 /scripts/Makefile | |
parent | Btrfs: fix potential race in extent buffer freeing (diff) | |
download | linux-51561ffec9614618f3da362f9d1b03a95b717484.tar.xz linux-51561ffec9614618f3da362f9d1b03a95b717484.zip |
Btrfs: lock the transition from dirty to writeback for an eb
There is a small window where an eb can have no IO bits set on it, which
could potentially result in extent_buffer_under_io() returning false when we
want it to return true, which could result in not fun things happening. So
in order to protect this case we need to hold the refs_lock when we make
this transition to make sure we get reliable results out of
extent_buffer_udner_io(). Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'scripts/Makefile')
0 files changed, 0 insertions, 0 deletions