Christoph Hellwig
7a249cf83d
xfs: fix filesystsem freeze race in xfs_trans_alloc
...
As pointed out by Jan xfs_trans_alloc can race with a concurrent filesystem
freeze when it sleeps during the memory allocation. Fix this by moving the
wait_for_freeze call after the memory allocation. This means moving the
freeze into the low-level _xfs_trans_alloc helper, which thus grows a new
argument. Also fix up some comments in that area while at it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <david@fromorbit.com>
2011-07-08 14:34:42 +02:00
..
2011-05-28 01:02:53 -04:00
2011-03-31 11:26:23 -03:00
2011-05-28 01:02:53 -04:00
2011-05-28 01:02:53 -04:00
2011-05-30 01:50:53 -04:00
2011-03-31 11:26:23 -03:00
2011-05-28 01:02:50 -04:00
2011-06-05 06:17:23 +09:00
2011-03-31 11:26:23 -03:00
2011-05-26 07:26:53 -04:00
2011-05-29 11:17:34 -07:00
2011-05-28 01:02:53 -04:00
2011-05-28 01:02:54 -04:00
2011-05-19 16:55:28 +09:30
2011-05-26 13:19:00 -07:00
2011-05-29 14:24:25 -05:00
2011-05-26 07:26:57 -04:00
2011-05-26 07:26:56 -04:00
2011-05-27 07:04:40 -04:00
2011-05-27 07:04:40 -04:00
2011-05-28 01:02:54 -04:00
2011-05-10 10:16:21 +02:00
2011-05-25 08:39:44 -07:00
2011-05-28 01:02:53 -04:00
2011-05-26 13:19:00 -07:00
2011-05-28 01:02:52 -04:00
2011-05-28 01:02:52 -04:00
2011-05-28 01:02:52 -04:00
2011-05-28 01:02:54 -04:00
2011-05-26 09:20:31 -07:00
2011-05-24 00:27:53 +02:00
2011-05-26 09:53:20 -07:00
2011-05-28 13:03:41 -07:00
2011-05-28 01:02:51 -04:00
2011-05-28 01:02:51 -04:00
2011-05-28 01:02:54 -04:00
2011-05-28 01:02:53 -04:00
2011-05-29 14:10:13 -07:00
2011-03-31 11:26:23 -03:00
2011-05-29 11:21:12 -07:00
2011-05-28 01:02:51 -04:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-05-27 10:23:10 -07:00
2011-05-28 01:02:52 -04:00
2011-05-30 07:42:51 +02:00
2011-05-29 11:29:28 -07:00
2011-05-16 11:05:00 -07:00
2011-05-25 08:39:26 -07:00
2011-04-14 16:06:56 -07:00
2011-05-28 01:02:51 -04:00
2011-05-29 11:19:45 -07:00
2011-05-13 16:05:51 -07:00
2011-05-28 01:02:50 -04:00
2011-06-03 18:12:31 +03:00
2011-05-28 01:02:52 -04:00
2011-05-28 01:02:51 -04:00
2011-07-08 14:34:42 +02:00
2011-05-28 12:02:09 -04:00
2011-04-14 16:06:55 -07:00
2011-05-03 10:10:51 +10:00
2011-05-28 14:44:46 +02:00
2011-06-01 08:28:47 +02:00
2011-05-28 01:03:21 -04:00
2011-04-09 15:53:56 +02:00
2011-05-25 08:39:26 -07:00
2011-05-25 08:39:26 -07:00
2011-03-31 11:26:23 -03:00
2011-05-26 17:12:36 -07:00
2011-04-14 16:06:56 -07:00
2011-04-28 11:28:20 -07:00
2011-04-17 10:42:01 -07:00
2011-05-27 07:04:40 -04:00
2011-05-27 09:43:00 -04:00
2011-03-24 21:17:51 -04:00
2011-05-26 09:52:14 -07:00
2011-05-26 07:26:50 -04:00
2011-05-25 08:39:26 -07:00
2011-05-26 10:01:43 -06:00
2011-05-30 01:48:27 -04:00
2011-05-26 07:26:44 -04:00
2011-05-23 19:58:53 +02:00
2011-05-26 10:50:56 -07:00
2011-05-23 13:59:53 +02:00
2011-05-28 12:02:09 -04:00