Joe Thornber
3cfabf6364
dm space map common: make sure new space is used during extend
...
commit 12c91a5c2d2a8e8cc40a9552313e1e7b0a2d9ee3 upstream.
When extending a low level space map we should update nr_blocks at
the start so the new space is used for the index entries.
Otherwise extend can fail, e.g.: sm_metadata_extend call sequence
that fails:
-> sm_ll_extend
-> dm_tm_new_block -> dm_sm_new_block -> sm_bootstrap_new_block
=> returns -ENOSPC because smm->begin == smm->ll.nr_blocks
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-13 13:55:35 -08:00
..
2014-02-13 13:55:31 -08:00
2013-10-31 14:48:38 +00:00
2014-02-06 11:34:05 -08:00
2013-11-19 15:53:02 -05:00
2013-12-08 01:04:17 +01:00
2013-11-13 17:40:34 +09:00
2014-02-13 13:55:28 -08:00
2013-12-04 11:11:49 -02:00
2013-11-14 08:51:29 +09:00
2014-02-13 13:55:28 -08:00
2014-01-08 08:33:12 -08:00
2013-12-30 11:32:24 +01:00
2013-11-14 17:19:20 -05:00
2014-01-06 22:16:14 +01:00
2013-12-30 11:55:20 +01:00
2014-01-01 14:06:23 +08:00
2013-11-07 19:24:20 +01:00
2014-01-02 14:40:30 -08:00
2014-02-06 11:33:50 -08:00
2014-02-13 13:55:27 -08:00
2014-01-29 05:06:18 -08:00
2013-12-15 16:32:32 +01:00
2013-12-29 13:35:04 -08:00
2013-12-17 11:47:40 -08:00
2014-01-19 18:28:30 -08:00
2013-12-13 13:21:28 -08:00
2014-02-06 11:33:59 -08:00
2014-02-06 11:34:07 -08:00
2013-11-20 13:25:04 -08:00
2014-01-10 03:06:06 +01:00
2013-12-17 20:37:14 +00:00
2014-02-13 13:55:32 -08:00
2014-02-13 13:55:28 -08:00
2014-02-13 13:55:27 -08:00
2013-12-20 11:28:30 -08:00
2014-01-06 15:50:51 -05:00
2014-01-10 14:48:07 -08:00
2013-11-07 12:13:05 +10:30
2013-11-27 11:35:47 +11:00
2014-02-13 13:55:35 -08:00
2013-12-10 05:40:57 -02:00
2013-11-15 09:32:21 +09:00
2013-11-13 12:09:26 +09:00
2014-02-06 11:34:02 -08:00
2014-02-13 13:55:26 -08:00
2014-02-13 13:55:30 -08:00
2014-02-13 13:55:32 -08:00
2014-02-13 13:55:28 -08:00
2013-11-26 11:15:12 -08:00
2013-12-30 12:09:47 -06:00
2014-02-06 11:34:01 -08:00
2014-02-13 13:55:28 -08:00
2013-11-12 16:52:17 +09:00
2013-12-10 12:53:30 -08:00
2014-02-06 11:34:02 -08:00
2014-02-06 11:34:06 -08:00
2013-12-05 02:01:55 +01:00
2013-12-01 14:25:03 -08:00
2013-12-22 01:27:51 +01:00
2013-11-13 12:09:35 +09:00
2013-11-01 11:17:57 +01:00
2013-12-16 11:30:39 +00:00
2014-02-06 11:34:01 -08:00
2013-12-18 17:35:30 +01:00
2014-02-06 11:34:10 -08:00
2014-02-13 13:55:33 -08:00
2014-02-06 11:34:06 -08:00
2014-02-06 11:34:11 -08:00
2013-11-19 15:50:47 -08:00
2014-02-06 11:34:07 -08:00
2014-02-06 11:34:00 -08:00
2014-02-06 11:34:10 -08:00
2013-11-07 11:42:15 +09:00
2013-11-22 10:52:03 -08:00
2014-02-13 13:55:28 -08:00
2013-12-05 13:12:39 +10:30
2013-11-15 09:32:21 +09:00
2013-12-10 08:48:15 +01:00
2014-02-13 13:55:28 -08:00
2013-11-14 13:41:48 +09:00
2013-11-14 13:41:48 +09:00