Cao ShuFeng
50e1f161fb
Fix size exceed of dd action when clearing a volume
...
This patch closes a bug that may result in "No space left" error
of dd command.
If user set the config item volume_clear_size to larger value than
a size of a volume, the "dd" command will get "No space left"
error when deleting the volume.
This change rejects volume_clear_size settings that are larger
than 1GiB, because there isn't really a reason to set that.
That would be safer all-around.
DocImpact
Closes-Bug: #1588310
Change-Id: I690d62bc728c85c9795a87f84b52f1a14474933d
2016-08-03 09:31:34 -04:00
..
2016-02-08 10:29:28 -08:00
2016-06-21 15:30:00 -07:00
2015-12-18 16:15:16 -08:00
2015-12-17 23:26:35 +00:00
2015-11-05 18:43:31 +01:00
2015-12-03 15:21:01 +01:00
2015-12-06 21:31:33 -08:00
2015-12-30 13:02:16 +00:00
2016-03-08 13:54:10 -06:00
2016-03-08 13:54:10 -06:00
2016-03-23 18:55:53 +00:00
2016-07-11 12:58:54 -07:00
2016-06-17 12:24:52 +08:00
2015-12-01 13:47:33 -06:00
2016-07-16 01:35:09 +00:00
2016-03-08 13:54:10 -06:00
2016-03-08 13:54:10 -06:00
2016-07-20 14:31:08 +00:00
2016-06-10 14:47:26 -07:00
2016-03-22 12:38:51 -07:00
2016-01-28 15:07:04 -08:00
2016-02-08 13:49:04 -08:00
2016-06-08 10:27:11 +02:00
2016-04-21 13:50:18 +00:00
2015-12-01 13:47:33 -06:00
2016-03-08 13:54:10 -06:00
2016-03-08 13:54:10 -06:00
2016-07-11 15:50:23 +05:30
2015-12-01 13:47:33 -06:00
2016-02-29 13:13:00 -08:00
2016-06-03 08:12:14 -05:00
2016-07-10 18:39:23 -07:00
2016-03-10 22:27:02 +00:00
2016-06-01 13:30:17 -05:00
2016-03-02 10:01:42 -06:00
2016-06-30 12:58:16 -07:00
2016-02-26 09:29:24 +01:00
2016-02-26 09:29:24 +01:00
2016-04-18 15:08:11 +03:00
2015-12-21 10:08:45 -08:00
2016-03-08 13:54:10 -06:00
2015-12-01 13:47:33 -06:00
2016-01-18 23:26:02 -08:00
2016-06-08 14:54:52 -05:00
2016-07-07 01:10:58 +08:00
2016-01-22 15:59:46 -08:00
2016-03-08 13:54:10 -06:00
2016-03-08 13:54:10 -06:00
2016-07-08 02:14:44 -04:00
2016-02-26 10:45:59 +01:00
2015-12-21 15:06:06 +09:00
2016-06-20 17:43:39 +08:00
2016-03-08 13:54:10 -06:00
2016-07-19 14:58:48 +08:00
2016-06-28 08:57:02 +08:00
2016-03-08 13:54:10 -06:00
2016-03-14 22:49:57 +08:00
2016-01-22 20:33:42 -05:00
2016-06-29 20:25:10 +03:00
2016-06-17 07:31:55 -04:00
2015-12-01 13:47:33 -06:00
2016-02-05 09:23:56 -08:00
2016-05-29 11:06:10 +03:00
2016-02-24 16:29:16 +00:00
2016-03-08 13:54:10 -06:00
2016-02-24 20:31:22 +00:00
2015-12-01 13:47:33 -06:00
2016-07-08 19:53:07 -06:00
2016-06-22 12:52:54 -06:00
2016-03-08 13:54:10 -06:00
2016-03-08 13:54:10 -06:00
2015-12-01 13:47:33 -06:00
2016-03-10 11:55:14 -05:00
2016-05-09 13:44:55 -07:00
2016-03-08 13:54:10 -06:00
2016-02-04 15:35:52 -08:00
2016-03-04 15:12:29 -08:00
2016-03-03 01:19:29 +00:00
2015-12-01 13:47:33 -06:00
2016-03-08 13:54:10 -06:00
2015-12-01 13:47:33 -06:00
2016-08-03 09:31:34 -04:00
2015-12-01 21:41:45 -06:00
2015-12-01 13:47:33 -06:00
2015-12-01 13:47:33 -06:00
2015-12-26 12:16:10 -06:00
2016-03-03 16:26:03 +02:00
2016-04-21 16:05:29 +00:00
2016-04-11 12:46:44 -05:00
2015-12-01 13:47:33 -06:00
2016-03-08 13:54:10 -06:00
2016-03-08 13:54:10 -06:00
2016-03-08 13:54:10 -06:00
2016-03-09 18:13:44 -05:00
2016-02-19 10:30:17 +01:00
2016-03-08 13:54:10 -06:00
2016-07-11 18:25:46 +03:00
2016-03-08 13:54:10 -06:00
2016-05-25 00:58:13 -07:00
2016-03-08 13:54:10 -06:00
2016-03-08 13:54:10 -06:00
2016-06-22 04:03:29 -07:00
2016-02-24 10:57:09 +01:00
2016-04-18 09:17:24 -06:00
2016-02-17 22:30:00 +00:00
2016-03-08 13:54:10 -06:00
2016-03-08 13:54:10 -06:00
2016-03-08 13:54:10 -06:00
2016-06-30 13:13:19 +08:00
2016-05-06 08:22:29 +08:00
2016-03-08 13:54:10 -06:00
2016-07-12 15:21:52 +08:00
2016-03-03 09:23:59 -08:00
2015-12-17 10:27:43 +00:00
2015-12-01 13:47:33 -06:00
2016-06-09 07:29:51 -04:00
2016-07-12 20:08:43 -07:00
2016-01-07 16:35:19 -08:00
2016-05-04 14:59:34 -07:00
2016-03-23 09:27:58 +00:00
2016-03-08 13:54:10 -06:00
2016-01-18 23:26:02 -08:00
2015-12-01 13:47:33 -06:00
2016-03-13 22:11:01 -04:00
2016-07-08 10:19:54 +08:00
2016-03-10 05:23:02 -05:00
2016-03-02 18:12:18 -05:00
2016-03-14 17:16:10 +02:00
2016-03-08 13:54:10 -06:00
2016-07-18 11:59:42 +00:00
2016-07-08 18:30:02 +00:00
2016-03-08 13:54:10 -06:00
2016-07-12 10:10:56 +08:00