Store overlay real upper file in ovl_file
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 11 repliesIn review
- v24 patches 14 repliesSuperseded
- v14 patches 9 repliesSuperseded
Changes in v3 from the cover letter
- Simplifications to flow (Al)
- Loose backing_file stash in favor of ovl_file (Miklos)
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ovl: do not open non-data lower file for fsyncfs/ | +43 | 5 replies | |
| 2/5 | ovl: allocate a container struct ovl_file for ovl private contextfs/ | +22 | 2 replies | |
| 3/5 | ovl: store upper real file in ovl_file structfs/ | +41 | 0 replies | |
| 4/5 | ovl: convert ovl_real_fdget_path() callers to ovl_real_file_path()fs/ | +37 | 0 replies | |
| 5/5 | ovl: convert ovl_real_fdget() callers to ovl_real_file()fs/ | +59 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/5] Store overlay real upper file in ovl_file
Hi all,
This is v3 of the code to avoid temporary backing file opens in overlayfs, taking into account Al's and Miklos' comments on v2 [1].
If no further comments, this is going for overlayfs-next.
Thanks,
Amir.
Changes since v2:
- Simplifications to flow (Al)
- Loose backing_file stash in favor of ovl_file (Miklos)
Changes since v1:
- Use helpers ovl_real_file() and ovl_upper_file() to express that ovl_real_file() cannot return NULL
- Fix readability and bug is code to select and store stashed upperfile
[1] https://lore.kernel.org/linux-unionfs/[email protected]/
Amir Goldstein (5):
ovl: do not open non-data lower file for fsync
ovl: allocate a container struct ovl_file for ovl private context
ovl: store upper real file in ovl_file struct
ovl: convert ovl_real_fdget_path() callers to ovl_real_file_path()
ovl: convert ovl_real_fdget() callers to ovl_real_file()
fs/overlayfs/file.c | 301 +++++++++++++++++++++++++------------------- 1 file changed, 173 insertions(+), 128 deletions(-)
Signature · 1 line
2.34.1