Amir Goldstein
72b608f085
ovl: constant st_ino/st_dev across copy up
...
When all layers are on the same underlying filesystem, let stat(2) return
st_dev/st_ino values of the copy up origin inode if it is known.
This results in constant st_ino/st_dev representation of files in an
overlay mount before and after copy up.
When the underlying filesystem support NFS exportfs, the result is also
persistent st_ino/st_dev representation before and after mount cycle.
Lower hardlinks are broken on copy up to different upper files, so we
cannot use the lower origin st_ino for those different files, even for the
same fs case.
When all overlay layers are on the same fs, use overlay st_dev for non-dirs
to get the correct result from du -x.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2017-05-05 11:38:58 +02:00
..
2017-03-03 21:44:35 -08:00
2017-03-02 08:42:31 +01:00
2017-03-03 11:38:56 -08:00
2017-03-02 08:42:31 +01:00
2017-03-02 08:42:31 +01:00
2016-12-24 11:46:01 -08:00
2017-03-03 11:38:56 -08:00
2017-03-02 08:42:31 +01:00
2017-03-03 11:38:56 -08:00
2017-03-03 16:00:59 -08:00
2017-03-03 11:38:56 -08:00
2016-12-24 11:46:01 -08:00
2017-03-02 10:09:00 +11:00
2017-02-23 20:33:51 -08:00
2017-03-02 08:42:32 +01:00
2017-03-03 11:38:56 -08:00
2016-12-24 11:46:01 -08:00
2017-01-14 11:37:18 +01:00
2017-03-03 11:38:56 -08:00
2017-03-02 08:42:31 +01:00
2017-03-03 11:38:56 -08:00
2017-03-03 11:38:56 -08:00
2017-03-02 20:51:15 -05:00
2017-03-02 10:09:00 +11:00
2017-03-03 12:14:13 -08:00
2017-03-03 11:38:56 -08:00
2017-03-03 21:44:35 -08:00
2017-03-02 08:42:31 +01:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:31 +01:00
2017-02-20 18:24:39 -08:00
2017-03-02 08:42:32 +01:00
2017-02-27 18:43:46 -08:00
2017-03-03 11:38:56 -08:00
2017-03-02 08:42:29 +01:00
2017-03-02 20:51:15 -05:00
2017-03-03 10:16:38 -08:00
2017-03-03 11:38:56 -08:00
2017-03-03 11:38:56 -08:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:32 +01:00
2017-03-03 11:38:56 -08:00
2017-03-02 08:42:31 +01:00
2016-12-24 11:46:01 -08:00
2017-03-03 11:38:56 -08:00
2017-05-05 11:38:58 +02:00
2017-03-03 11:38:56 -08:00
2017-02-24 17:46:57 -08:00
2017-03-02 08:42:31 +01:00
2016-12-24 11:46:01 -08:00
2017-02-27 18:43:46 -08:00
2017-01-24 16:26:14 -08:00
2017-02-24 17:46:57 -08:00
2017-03-02 20:51:15 -05:00
2017-03-02 20:51:15 -05:00
2017-03-02 20:51:15 -05:00
2016-12-24 11:46:01 -08:00
2017-03-03 11:38:56 -08:00
2017-03-03 10:16:38 -08:00
2016-12-24 11:46:01 -08:00
2017-03-02 08:42:29 +01:00
2017-03-02 20:51:15 -05:00
2017-03-02 08:42:36 +01:00
2017-03-02 08:42:39 +01:00
2017-03-02 08:42:39 +01:00
2017-03-02 08:42:36 +01:00
2017-03-02 08:42:37 +01:00
2017-03-02 08:56:59 -07:00
2017-03-02 08:42:37 +01:00
2017-02-01 09:13:51 +01:00
2016-12-24 11:46:01 -08:00
2017-03-02 08:42:31 +01:00
2017-03-02 08:42:36 +01:00
2017-03-02 08:42:37 +01:00
2017-01-10 13:34:43 +13:00
2016-12-24 11:46:01 -08:00
2017-02-27 18:43:46 -08:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:35 +01:00
2017-03-02 08:42:35 +01:00
2016-12-24 11:46:01 -08:00
2017-03-02 08:42:31 +01:00
2017-03-02 08:42:29 +01:00
2016-12-24 11:46:01 -08:00
2017-03-02 08:42:35 +01:00
2017-01-30 16:32:25 -08:00
2017-03-02 08:42:37 +01:00
2017-03-02 08:42:37 +01:00
2017-01-24 16:26:14 -08:00
2017-03-03 11:38:56 -08:00
2016-12-24 11:46:01 -08:00
2017-02-04 00:01:06 +13:00
2017-02-27 18:43:46 -08:00
2017-03-02 06:41:22 -05:00
2017-03-02 08:42:38 +01:00
2017-02-03 14:35:43 +13:00
2017-04-20 16:37:26 +02:00
2016-12-24 11:46:01 -08:00
2017-02-04 00:01:06 +13:00
2017-02-04 00:01:06 +13:00
2017-03-02 08:42:31 +01:00
2017-03-02 08:42:38 +01:00
2017-03-03 10:16:38 -08:00
2016-12-24 11:46:01 -08:00
2017-03-02 08:42:29 +01:00
2016-12-24 11:46:01 -08:00
2017-03-03 10:16:38 -08:00
2017-03-03 11:38:56 -08:00
2017-02-23 20:33:51 -08:00
2017-02-20 16:51:23 +01:00
2017-02-10 11:15:09 +01:00
2017-03-02 08:42:32 +01:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00