Eric Sandeen
ce748eaa65
xfs: create new metadata UUID field and incompat flag
...
This adds a new superblock field, sb_meta_uuid. If set, along with
a new incompat flag, the code will use that field on a V5 filesystem
to compare to metadata UUIDs, which allows us to change the user-
visible UUID at will. Userspace handles the setting and clearing
of the incompat flag as appropriate, as the UUID gets changed; i.e.
setting the user-visible UUID back to the original UUID (as stored in
the new field) will remove the incompatible feature flag.
If the incompat flag is not set, this copies the user-visible UUID into
into the meta_uuid slot in memory when the superblock is read from disk;
the meta_uuid field is not written back to disk in this case.
The remainder of this patch simply switches verifiers, initializers,
etc to use the new sb_meta_uuid field.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2015-07-29 11:53:31 +10:00
..
2015-07-12 11:22:05 -04:00
2015-06-30 19:44:57 -07:00
2015-07-04 19:36:06 -07:00
2015-05-11 10:50:17 -04:00
2015-06-23 18:02:01 -04:00
2015-07-04 19:36:06 -07:00
2015-04-26 17:22:07 -07:00
2015-07-11 10:26:34 -07:00
2015-06-23 18:01:30 -04:00
2015-07-04 19:36:06 -07:00
2015-06-29 14:50:22 -05:00
2015-06-23 18:01:59 -04:00
2015-07-04 19:36:06 -07:00
2015-07-04 19:36:06 -07:00
2015-06-30 19:44:58 -07:00
2015-05-11 10:50:17 -04:00
2015-07-09 11:42:21 -07:00
2015-05-06 10:57:37 -07:00
2015-06-25 17:00:42 -07:00
2015-06-23 18:02:00 -04:00
2015-02-22 11:38:41 -05:00
2015-07-04 19:36:06 -07:00
2015-06-24 20:07:10 -07:00
2015-07-09 11:42:21 -07:00
2015-06-25 16:00:17 -07:00
2015-06-02 08:33:34 -06:00
2015-06-23 18:02:00 -04:00
2015-04-02 14:28:53 +01:00
2015-07-04 19:36:06 -07:00
2015-06-27 09:47:46 -07:00
2015-07-04 19:36:06 -07:00
2015-07-04 19:36:06 -07:00
2015-06-22 12:51:21 -07:00
2015-07-09 13:35:31 -07:00
2015-06-24 17:49:41 -07:00
2015-04-15 15:06:57 -04:00
2015-06-27 09:41:50 -07:00
2015-07-04 19:36:06 -07:00
2015-07-09 11:42:21 -07:00
2015-07-03 15:20:57 -07:00
2015-04-21 16:16:02 -04:00
2015-05-10 22:18:28 -04:00
2015-07-04 19:36:06 -07:00
2015-06-14 11:31:39 -04:00
2015-07-04 19:36:06 -07:00
2015-06-22 14:15:05 -04:00
2015-07-09 11:42:21 -07:00
2015-06-16 14:12:34 -04:00
2015-07-04 19:36:06 -07:00
2015-07-09 11:42:21 -07:00
2015-05-28 18:25:19 -07:00
2015-07-12 11:22:05 -04:00
2015-07-04 19:36:06 -07:00
2015-07-03 15:20:57 -07:00
2015-06-23 18:02:00 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-06-26 09:52:05 -07:00
2015-04-11 22:29:40 -04:00
2015-06-23 18:01:59 -04:00
2015-07-03 15:20:57 -07:00
2015-06-23 18:02:00 -04:00
2015-07-04 19:36:06 -07:00
2015-06-25 14:11:34 -07:00
2015-07-04 19:36:06 -07:00
2015-07-04 19:36:06 -07:00
2015-07-29 11:53:31 +10:00
2015-04-16 23:27:56 -04:00
2015-02-20 04:03:58 -05:00
2015-07-04 19:36:06 -07:00
2015-04-26 17:22:07 -07:00
2015-07-04 19:36:06 -07:00
2015-06-02 09:22:34 -06:00
2015-07-09 11:42:21 -07:00
2015-07-04 19:36:06 -07:00
2015-07-04 19:36:06 -07:00
2015-07-12 11:27:04 -04:00
2015-04-24 15:45:28 -04:00
2015-02-12 18:54:09 -08:00
2015-02-17 14:34:52 -08:00
2015-02-13 21:21:40 -08:00
2015-05-12 22:03:44 +02:00
2015-06-02 10:29:07 -07:00
2015-06-23 18:02:00 -04:00
2015-07-01 02:31:08 -04:00
2015-04-09 11:39:55 -05:00
2015-06-17 12:47:37 -06:00
2015-07-04 19:36:06 -07:00
2015-06-19 03:19:32 -04:00
2015-02-10 14:30:30 -08:00
2015-04-10 15:08:35 -07:00
2015-04-14 16:49:05 -07:00
2015-07-04 19:36:06 -07:00
2015-04-17 09:04:12 -04:00
2015-05-31 13:23:08 +02:00
2015-06-30 19:44:56 -07:00
2015-06-02 08:40:20 -06:00
2015-06-29 12:07:04 -04:00
2015-07-03 15:20:57 -07:00
2015-04-15 15:06:58 -04:00
2015-06-23 18:01:09 -04:00
2015-04-15 15:06:58 -04:00
2015-04-02 20:34:20 -05:00
2015-04-09 11:39:55 -05:00
2015-06-23 18:01:07 -04:00
2015-06-30 19:44:56 -07:00
2015-04-11 22:29:46 -04:00
2015-05-19 08:32:00 +02:00
2015-07-04 19:36:06 -07:00
2015-06-24 20:47:21 -07:00
2015-04-15 15:06:59 -04:00
2015-07-01 01:50:06 -04:00
2015-02-05 02:45:00 -05:00
2015-05-21 13:28:47 -04:00