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-07-25 16:15:07 -04:00
2012-03-22 01:45:34 +01:00
2012-10-01 15:19:19 -04:00
2012-10-01 15:19:18 -04:00
2012-10-01 15:19:06 -04:00
2012-07-25 23:28:38 +02:00
2011-12-21 19:14:09 +01:00
2009-01-06 09:38:55 -05:00
2012-08-28 16:53:33 -04:00
2012-03-22 01:45:34 +01:00
2012-10-01 15:19:00 -04:00
2012-10-01 15:19:21 -04:00
2012-10-01 15:19:16 -04:00
2012-07-23 15:41:40 -04:00
2012-08-28 16:53:38 -04:00
2012-08-28 16:53:38 -04:00
2012-03-22 11:52:54 +01:00
2012-10-04 09:39:54 -04:00
2012-08-28 16:53:38 -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:15 -04:00
2012-10-01 15:19:16 -04:00
2012-10-01 15:19:05 -04:00
2012-10-01 15:19:21 -04:00
2012-10-01 15:19:01 -04:00
2012-10-01 15:19:22 -04:00
2012-10-04 09:39:55 -04:00
2011-05-06 12:34:03 +02:00
2009-06-10 11:29:53 -04:00
2012-03-28 20:31:37 -04:00
2012-03-29 09:57:44 -04:00
2011-04-25 16:46:11 +08:00
2012-10-04 09:39:56 -04:00
2012-10-01 15:19:19 -04:00
2012-07-25 19:19:10 -04:00
2011-12-21 19:14:16 +01:00
2012-08-28 16:53:23 -04:00
2012-03-22 01:45:34 +01:00
2012-03-20 21:48:21 +08:00
2012-07-25 19:19:10 -04:00
2012-10-01 15:19:11 -04:00
2012-10-01 15:19:11 -04:00
2012-03-22 11:52:54 +01:00
2012-05-30 10:23:41 -04:00
2008-09-25 11:03:56 -04:00
2012-10-01 15:19:14 -04:00
2012-06-14 21:29:16 -04:00
2012-05-30 10:23:43 -04:00
2012-10-01 15:19:14 -04:00
2012-08-28 16:53:26 -04:00
2012-10-01 15:19:21 -04:00
2012-10-04 09:39:55 -04:00
2012-10-04 09:39:55 -04:00
2012-07-23 16:28:06 -04:00
2012-10-04 09:39:56 -04:00
2011-06-17 14:54:18 -04:00
2012-10-04 09:39:56 -04:00
2012-10-04 09:39:56 -04:00
2011-05-02 13:57:22 +02:00
2012-10-01 15:19:12 -04:00
2012-03-22 01:45:34 +01:00
2012-10-01 15:18:53 -04:00
2012-10-01 15:18:53 -04:00
2008-09-25 15:41:59 -04:00
2012-08-29 11:36:22 -07:00
2012-08-28 16:53:39 -04:00
2012-05-30 10:23:27 -04:00
2011-02-01 11:12:29 -05:00
2012-03-20 21:48:21 +08:00