NeilBrown 64590f45dd md: make merge_bvec_fn more robust in face of personality changes.
There is no locking around calls to merge_bvec_fn(), so
it is possible that calls which coincide with a level (or personality)
change could go wrong.

So create a central dispatch point for these functions and use
rcu_read_lock().
If the array is suspended, reject any merge that can be rejected.
If not, we know it is safe to call the function.

Signed-off-by: NeilBrown <neilb@suse.de>
2015-02-04 08:35:52 +11:00
..
2014-01-14 23:23:03 -05:00
2013-11-23 22:33:47 -08:00
2014-08-01 12:30:30 -04:00
2013-08-23 09:02:13 -04:00
2013-11-23 22:33:47 -08:00
2012-07-30 17:25:16 -07:00
2013-09-05 20:46:06 -04:00
2014-01-14 23:23:04 -05:00
2013-11-23 22:33:47 -08:00
2014-03-27 16:56:23 -04:00
2014-03-27 16:56:23 -04:00