Max Reitz
20a579de84
hbitmap: Add hbitmap_is_serializable()
...
Bitmaps with a granularity of 58 or above can be neither serialized nor
deserialized (see the comment in the function added in this series for
an explanation). This patch adds a function so that we can check whether
a bitmap actually can be (de-)serialized at all, thus avoiding failing
the necessary assertion in hbitmap_serialization_granularity().
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20161115225746.3590-2-mreitz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
2017-01-26 10:25:01 +08:00
..
2016-07-12 16:19:16 +02:00
2016-03-22 22:20:15 +01:00
2017-01-20 13:22:17 +01:00
2016-02-04 17:01:04 +00:00
2016-05-19 16:42:28 +02:00
2016-09-14 12:25:14 +02:00
2016-02-04 17:01:04 +00:00
2016-06-07 18:19:24 +03:00
2016-09-29 14:13:39 +02:00
2016-09-29 14:13:39 +02:00
2016-09-29 14:13:39 +02:00
2016-02-04 17:01:04 +00:00
2016-09-13 19:09:45 +02:00
2016-02-04 17:01:04 +00:00
2016-05-26 11:31:30 +05:30
2017-01-16 17:52:35 +01:00
2017-01-16 17:52:35 +01:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2017-01-26 10:25:01 +08:00
2016-04-06 09:52:07 +08:00
2016-02-04 17:01:04 +00:00
2016-03-22 22:20:17 +01:00
2016-08-03 18:44:57 +02:00
2017-01-16 13:25:18 +00:00
2016-09-14 22:52:44 +02:00
2017-01-16 13:25:17 +00:00
2016-06-16 18:39:03 +02:00
2017-01-24 23:26:53 +03:00
2016-10-07 14:14:06 +02:00
2016-02-04 17:01:04 +00:00
2016-07-13 13:26:02 +02:00
2016-11-22 10:56:01 +00:00
2017-01-24 23:26:53 +03:00
2016-03-22 22:20:17 +01:00
2016-08-03 18:44:56 +02:00
2016-10-07 13:34:07 +02:00
2016-07-13 13:26:02 +02:00
2016-09-05 19:06:48 +02:00
2016-07-13 13:26:02 +02:00
2017-01-09 13:30:52 +01:00
2016-11-01 16:06:57 +01:00
2016-02-04 17:01:04 +00:00
2016-04-28 08:18:56 +02:00
2016-02-04 17:01:04 +00:00
2017-01-23 15:32:46 +00:00
2017-01-20 16:42:07 +00:00
2017-01-20 16:42:07 +00:00
2016-02-04 17:01:04 +00:00
2016-10-06 18:04:13 +02:00
2016-07-04 16:49:33 +03:00
2016-10-24 11:30:56 +02:00
2016-03-22 22:20:17 +01:00
2016-08-05 09:59:06 +01:00
2016-05-18 15:04:27 +03:00
2017-01-16 13:25:18 +00:00
2016-03-22 22:20:17 +01:00
2017-01-24 23:26:52 +03:00
2016-09-23 11:42:52 +08:00