Xiao Guangrong
c9513edb00
Btrfs: fix the race between reading and updating devices
...
On btrfs_congested_fn and __unplug_io_fn paths, we should hold
device_list_mutex to avoid remove/add device path to
update fs_devices->devices
On __btrfs_close_devices and btrfs_prepare_sprout paths, the devices in
fs_devices->devices or fs_devices->devices is updated, so we should hold
the mutex to avoid the reader side to reach them
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2011-05-23 13:24:42 -04:00
..
2011-04-15 15:26:14 -05:00
2011-03-31 11:26:23 -03:00
2011-03-24 10:16:26 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-24 10:16:26 -07:00
2011-05-23 13:24:42 -04:00
2011-03-31 11:26:23 -03:00
2011-05-11 10:44:48 -07:00
2011-05-17 20:54:04 +00:00
2011-03-25 17:45:16 -07:00
2011-05-18 04:08:16 -07:00
2011-03-31 11:26:23 -03:00
2011-04-25 18:49:46 -05:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-08 07:35:17 -07:00
2011-04-11 15:45:47 -07:00
2011-03-24 10:16:26 -07:00
2011-03-31 11:26:23 -03:00
2011-05-10 17:35:58 +02:00
2011-04-25 18:14:10 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-05-09 09:04:24 -07:00
2011-03-24 10:16:26 -07:00
2011-03-31 11:26:23 -03:00
2011-04-11 15:45:47 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-03 16:10:25 -07:00
2011-03-24 10:16:26 -07:00
2011-03-31 11:26:23 -03:00
2011-05-11 22:52:13 -04:00
2011-03-31 11:26:23 -03:00
2011-04-20 11:03:01 -04:00
2011-05-10 22:19:50 +09:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-05-13 11:27:30 -07:00
2011-03-24 10:16:26 -07:00
2011-05-06 07:46:37 -07:00
2011-05-09 16:22:07 -07:00
2011-03-31 11:26:23 -03:00
2011-04-08 07:35:17 -07:00
2011-04-14 16:06:56 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-24 10:16:26 -07:00
2011-05-02 19:23:48 +03:00
2011-03-24 10:16:26 -07:00
2011-04-07 11:14:49 -07:00
2011-05-09 18:35:04 -05:00
2011-03-24 10:16:26 -07:00
2011-03-31 11:26:23 -03:00
2011-04-14 16:06:55 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-29 10:17:26 +02:00
2011-03-24 19:01:30 -07:00
2011-04-25 18:14:10 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 21:16:32 -04:00
2011-03-31 11:26:23 -03:00
2011-03-23 19:47:13 -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-03-31 11:26:23 -03:00
2011-03-23 19:47:13 -07:00
2011-04-05 23:51:48 +02:00
2011-03-24 21:17:51 -04:00
2011-03-24 08:20:39 -07:00
2011-03-31 11:26:23 -03:00
2011-05-13 11:51:01 -07:00
2011-04-12 13:35:56 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-23 19:47:13 -07:00
2011-04-21 07:34:44 -07:00