Possible btrfs deadlock coused by commit 660d3f6c

2012-01-16 Thread Stanislaw Gruszka
Hi Josef, commit 660d3f6cde552323578b85fc5a09a6742f1fe804 Author: Josef Bacik jo...@redhat.com Date: Fri Dec 9 11:18:51 2011 -0500 Btrfs: fix how we do delalloc reservations and how we free reservations on error introduced possible deadlock. According to comment before

[PATCH] btrfs: always choose work from prio_head first

2014-02-08 Thread Stanislaw Gruszka
In case we do not refill, we can overwrite cur pointer from prio_head by one from not prioritized head, what looks as something that was not intended. This change make we always take works from prio_head first until it's not empty. Signed-off-by: Stanislaw Gruszka stf...@wp.pl --- I found