summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2017-05-24 15:29:33 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2017-05-29 11:48:00 +0200
commitf3a1568582cc207663a4d5e37da790334372855b (patch)
tree00f5b95a4ef417098629a7f16493beb194e5c60c /drivers/power
parentee1d6d37b6b884383b501089be93ce94f2153028 (diff)
ovl: mark upper merge dir with type origin entries "impure"
An upper dir is marked "impure" to let ovl_iterate() know that this directory may contain non pure upper entries whose d_ino may need to be read from the origin inode. We already mark a non-merge dir "impure" when moving a non-pure child entry inside it, to let ovl_iterate() know not to iterate the non-merge dir directly. Mark also a merge dir "impure" when moving a non-pure child entry inside it and when copying up a child entry inside it. This can be used to optimize ovl_iterate() to perform a "pure merge" of upper and lower directories, merging the content of the directories, without having to read d_ino from origin inodes. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions