Josef Bacik 60376ce4a8 Btrfs: fix race in sync and freeze again
I screwed this up, there is a race between checking if there is a running
transaction and actually starting a transaction in sync where we could race
with a freezer and get ourselves into trouble.  To fix this we need to make
a new join type to only do the try lock on the freeze stuff.  If it fails
we'll return EPERM and just return from sync.  This fixes a hang Liu Bo
reported when running xfstest 68 in a loop.  Thanks,

Reported-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
2012-10-04 09:39:56 -04:00
..
2012-05-30 10:23:27 -04:00
2012-05-29 23:28:33 -04:00
2008-09-25 11:04:06 -04:00
2012-10-01 15:19:21 -04:00
2012-10-01 15:19:21 -04:00
2011-06-17 14:54:18 -04:00
2012-10-01 15:19:12 -04:00
2012-10-01 15:18:53 -04:00
2012-10-01 15:18:53 -04:00