diff options
author | Amir Goldstein <amir73il@gmail.com> | 2020-04-03 09:03:38 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-05-13 11:11:24 +0200 |
commit | 62a8a85be8355b01330667c2b4676fb60c184380 (patch) | |
tree | 9bc5c3653b733be7b1dfa446be10f5684b8463df /fs/sync.c | |
parent | ovl: prepare to copy up without workdir (diff) | |
download | linux-62a8a85be8355b01330667c2b4676fb60c184380.tar.xz linux-62a8a85be8355b01330667c2b4676fb60c184380.zip |
ovl: index dir act as work dir
With index=on, let index dir act as the work dir for copy up and cleanups.
This will help implementing whiteout inode sharing.
We still create the "work" dir on mount regardless of index=on and it is
used to test the features supported by upper fs. One reason is that before
the feature tests, we do not know if index could be enabled or not.
The reason we do not use "index" directory also as workdir with index=off
is because the existence of the "index" directory acts as a simple
persistent signal that index was enabled on this filesystem and tools may
want to use that signal.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions