Chris Mason
153c35b6cc
Btrfs: fix regression in raid level conversion
...
Commit 2f0810880f
changed
btrfs_set_block_group_ro to avoid trying to allocate new chunks with the
new raid profile during conversion. This fixed failures when there was
no space on the drive to allocate a new chunk, but the metadata
reserves were sufficient to continue the conversion.
But this ended up causing a regression when the drive had plenty of
space to allocate new chunks, mostly because reduce_alloc_profile isn't
using the new raid profile.
Fixing btrfs_reduce_alloc_profile is a bigger patch. For now, do a
partial revert of 2f0810880
, and don't error out if we hit ENOSPC.
Signed-off-by: Chris Mason <clm@fb.com >
Tested-by: Dave Sterba <dsterba@suse.cz >
Reported-by: Holger Hoffstaette <holger.hoffstaette@googlemail.com >
2015-05-20 11:03:38 -07:00
..
2015-04-13 07:52:44 -07:00
2014-06-09 17:20:42 -07:00
2015-02-16 18:48:47 +01:00
2015-02-16 18:48:47 +01:00
2015-05-19 18:04:17 -07:00
2015-01-14 19:23:47 +01:00
2015-03-26 17:56:23 -07:00
2015-03-25 10:52:48 -07:00
2013-11-24 16:33:41 -07:00
2015-03-25 10:52:48 -07:00
2015-02-16 18:48:44 +01:00
2015-03-25 10:52:48 -07:00
2015-04-13 07:52:54 -07:00
2015-04-26 06:27:03 -07:00
2014-01-28 13:20:09 -08:00
2015-04-10 14:04:47 -07:00
2015-04-10 14:04:47 -07:00
2015-03-03 17:23:57 +01:00
2012-12-12 17:15:41 -05:00
2014-11-20 17:20:07 -08:00
2015-04-13 07:27:41 -07:00
2015-02-16 18:48:43 +01:00
2014-09-17 13:37:12 -07:00
2008-09-25 11:04:06 -04:00
2015-05-11 07:59:11 -07:00
2015-02-16 18:48:44 +01:00
2014-11-21 11:59:54 -08:00
2014-06-19 14:20:55 -07:00
2015-05-20 11:03:38 -07:00
2015-03-25 10:52:48 -07:00
2015-04-13 07:52:50 -07:00
2015-05-11 07:59:10 -07:00
2015-04-10 14:07:22 -07:00
2014-10-14 10:51:22 +02:00
2014-01-28 13:20:31 -08:00
2015-01-21 18:02:05 -08:00
2015-04-10 14:07:22 -07:00
2011-04-25 16:46:11 +08:00
2015-04-26 06:27:03 -07:00
2015-04-26 06:27:02 -07:00
2015-01-06 11:04:29 -08:00
2014-11-19 10:34:35 -08:00
2014-11-19 10:34:35 -08:00
2015-02-16 18:48:44 +01:00
2014-06-09 17:20:49 -07:00
2015-03-03 17:23:57 +01:00
2015-05-11 07:59:10 -07:00
2014-11-21 11:59:56 -08:00
2014-09-17 13:37:12 -07:00
2014-10-02 17:14:50 +02:00
2013-05-06 15:55:23 -04:00
2015-02-16 18:48:44 +01:00
2014-01-28 13:20:24 -08:00
2015-04-13 07:52:59 -07:00
2015-04-13 07:52:50 -07:00
2015-03-25 10:52:48 -07:00
2015-01-21 18:06:47 -08:00
2012-06-14 21:29:16 -04:00
2015-01-21 18:06:48 -08:00
2015-04-13 07:52:50 -07:00
2014-06-09 17:20:40 -07:00
2015-03-25 10:52:48 -07:00
2015-03-26 17:55:52 -07:00
2013-05-06 15:55:23 -04:00
2012-07-23 16:28:06 -04:00
2015-03-26 18:10:25 -07:00
2015-02-16 18:48:44 +01:00
2015-03-03 17:24:02 +01:00
2015-04-10 14:07:22 -07:00
2015-04-10 14:07:22 -07:00
2014-06-09 17:20:40 -07:00
2015-04-10 14:00:14 -07:00
2015-03-26 17:56:23 -07:00
2014-01-29 07:06:27 -08:00
2014-08-15 07:43:19 -07:00
2014-09-17 13:38:02 -07:00
2015-05-19 18:04:17 -07:00
2015-02-16 18:48:45 +01:00
2015-03-26 18:10:24 -07:00
2014-01-25 23:58:18 -05:00
2015-02-16 18:48:44 +01:00