Josef Bacik
ad3e34bba4
Btrfs: don't map extent buffer if path->skip_locking is set
...
Arne's scrub stuff exposed a problem with mapping the extent buffer in
reada_for_search. He searches the commit root with multiple threads and with
skip_locking set, so we can race and overwrite node->map_token since node isn't
locked. So fix this so that we only map the extent buffer if we don't already
have a map_token and skip_locking isn't set. Without this patch scrub would
panic almost immediately, with the patch it doesn't panic anymore. Thanks,
Reported-by: Arne Jansen <sensille@gmx.net>
Signed-off-by: Josef Bacik <josef@redhat.com>
2011-06-10 12:14:12 +02:00
..
2011-05-22 12:33:42 -04:00
2010-05-25 10:34:58 -04:00
2009-10-05 09:44:45 -04:00
2011-05-28 07:00:39 -04:00
2011-05-22 12:33:42 -04:00
2011-05-02 13:57:19 +02:00
2011-06-10 12:14:12 +02:00
2011-06-04 08:11:22 -04:00
2011-06-04 08:11:38 -04:00
2011-05-21 09:30:56 -04:00
2011-05-06 12:34:10 +02:00
2011-05-06 12:34:03 +02:00
2011-05-23 14:37:47 -04:00
2011-05-28 07:00:39 -04:00
2011-05-22 12:33:42 -04:00
2011-05-21 09:27:38 -04:00
2011-05-28 07:00:39 -04:00
2011-05-06 12:34:03 +02:00
2011-05-02 13:57:21 +02:00
2011-05-02 13:57:21 +02:00
2011-06-04 08:11:22 -04:00
2011-05-23 14:37:47 -04:00
2011-06-04 08:11:22 -04:00
2011-06-04 08:11:22 -04:00
2011-05-06 12:34:03 +02:00
2011-05-23 13:24:39 -04:00
2011-06-04 08:11:22 -04:00
2011-04-25 16:46:11 +08:00
2011-06-04 08:11:22 -04:00
2011-06-04 08:03:46 -04:00
2011-05-26 17:52:15 -04:00
2010-12-22 23:15:47 +08:00
2011-05-06 12:34:03 +02:00
2011-05-06 12:34:03 +02:00
2011-02-16 15:37:58 -05:00
2011-05-23 06:30:52 -04:00
2011-03-28 05:37:33 -04:00
2010-12-22 23:15:45 +08:00
2010-12-09 13:57:15 -05:00
2011-01-28 16:40:37 -05:00
2011-05-06 12:34:03 +02:00
2011-05-06 12:34:03 +02:00
2011-05-28 07:00:39 -04:00
2011-05-23 14:37:47 -04:00
2011-06-04 08:11:22 -04:00
2011-06-04 08:03:47 -04:00
2011-05-22 12:33:42 -04:00
2011-06-04 08:11:22 -04:00
2011-05-28 07:00:39 -04:00
2011-05-02 13:57:22 +02:00
2011-05-23 14:37:47 -04:00
2011-05-04 14:01:26 +02:00
2011-06-04 08:03:44 -04:00
2011-05-23 14:37:47 -04:00
2011-05-28 07:00:39 -04:00
2011-02-01 11:12:29 -05:00
2011-03-22 17:44:17 -07:00