diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-02-06 16:49:15 -0500 |
---|---|---|
committer | Josef Bacik <jbacik@fusionio.com> | 2013-02-20 12:59:33 -0500 |
commit | 3e04e7f10b68999e0d8321516ea19d9d5b044dee (patch) | |
tree | 9a7aab9c6a1f99be02d155edf36a42e5ba89d3d7 /firmware/atmsar11.HEX | |
parent | 70afa3998c9baed4186df38988246de1abdab56d (diff) | |
download | blackbird-op-linux-3e04e7f10b68999e0d8321516ea19d9d5b044dee.tar.gz blackbird-op-linux-3e04e7f10b68999e0d8321516ea19d9d5b044dee.zip |
Btrfs: handle errors in compression submission path
I noticed we would deadlock if we aborted a transaction while doing
compressed io. This is because we don't unlock our pages if something goes
horribly wrong. To fix this we need to make sure that we call
extent_clear_unlock_delalloc in order to unlock all the pages. If we have
to cow in the async submission thread we need to make sure to unlock our
locked_page as the cow error path will not unlock the locked page as it
depends on the caller to unlock that page. With this patch we no longer
deadlock on the page lock when we have an aborted transaction. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'firmware/atmsar11.HEX')
0 files changed, 0 insertions, 0 deletions