diff options
author | Chengguang Xu | 2019-08-20 18:03:25 +0800 |
---|---|---|
committer | Dominique Martinet | 2019-09-03 10:56:32 +0000 |
commit | c87a37ebd40b889178664c2c09cc187334146292 (patch) | |
tree | b22de8286db49fc7416431010267f6267c161da4 /fs/fcntl.c | |
parent | 089cf7f6ecb266b6a4164919a2e69bd2f938374a (diff) |
9p: avoid attaching writeback_fid on mmap with type PRIVATE
Currently on mmap cache policy, we always attach writeback_fid
whether mmap type is SHARED or PRIVATE. However, in the use case
of kata-container which combines 9p(Guest OS) with overlayfs(Host OS),
this behavior will trigger overlayfs' copy-up when excute command
inside container.
Link: http://lkml.kernel.org/r/20190820100325.10313-1-cgxu519@zoho.com.cn
Signed-off-by: Chengguang Xu <cgxu519@zoho.com.cn>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions