docs: path-lookup: Update pathlookup docs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest13 patches 4 repliesIn review
- v212 patches 21 repliesSuperseded
- v112 patches 13 repliesSuperseded
Changes in v3 from the cover letter
- Fix problems in v2 according to Neil's review:
1. Fix minor problems in Patch 1,2,3,8,9,11,12
2. In Patch 4 remove redundant paragraph, condense information, and
make the paragraph connection more smooth.
3. In Patch 10 Fix WALK_NOFOLLOW, WALK_MORE descriptions and
document WALK_TRAILING
- As suggested by Matthew Wilcox and Jonathan Corbet, remove ``...`` literals of function names in this patchset. I put this in a standalone Patch(Patch 13), because automarkup extension doesn't work on my side. You can choose to take it or not take it.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | docs: path-lookup: update follow_managed() partDocumentation/ | +5 | 0 replies | |
| 2/13 | docs: path-lookup: update path_to_nameidata() partDocumentation/ | +6 | 0 replies | |
| 3/13 | docs: path-lookup: update path_mountpoint() partDocumentation/ | +5 | 0 replies | |
| 4/13 | docs: path-lookup: update do_last() partDocumentation/ | +22 | 0 replies | |
| 5/13 | docs: path-lookup: remove filename_mountpointDocumentation/ | +3 | 0 replies | |
| 6/13 | docs: path-lookup: Add macro name to symlink limit descriptionDocumentation/ | +2 | 0 replies | |
| 7/13 | docs: path-lookup: i_op->follow_link replaced with i_op->get_linkDocumentation/ | +5 | 0 replies | |
| 8/13 | docs: path-lookup: update i_op->put_link and cookie descriptionDocumentation/ | +8 | 0 replies | |
| 9/13 | docs: path-lookup: no get_link()Documentation/ | +4 | 0 replies | |
| 10/13 | docs: path-lookup: update WALK_GET, WALK_PUT descDocumentation/ | +7 | 1 reply | |
| 11/13 | docs: path-lookup: update get_link() ->follow_link descriptionDocumentation/ | +6 | 0 replies | |
| 12/13 | docs: path-lookup: update symlink descriptionDocumentation/ | +6 | 0 replies | |
| 13/13 | docs: path-lookup: use bare function() rather than literalsDocumentation/ | +35 | 0 replies |
Reviews trailers per patch
None of the 13 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | NeilBrown |
|---|---|
| Series | R-b |
| 1/13 | |
| 2/13 | |
| 3/13 | |
| 4/13 | |
| 5/13 | |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | |
| 10/13 | |
| 11/13 | |
| 12/13 | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/13] docs: path-lookup: Update pathlookup docs
The Path lookup is a very complex subject in VFS. The path-lookup document provides a very detailed guidance to help people understand how path lookup works in the kernel. This document was originally written based on three lwn articles five years ago. As times goes by, some of the content is outdated. This patchset is intended to update the document to make it more relevant to current codebase.
---
v1: https://lore.kernel.org/lkml/[email protected]/
v2: https://lore.kernel.org/lkml/[email protected]/
- Fix problems in v1 reviewed by Neil:
1. In Patch 01 and 02 rewrite a new paragrah to describe step_into()
2. In Patch 01 instead of changing it to traverse_mounts, remove follow_managed()
3. In Patch 03 re-telling the story rather than adding notes
4. In Patch 04 do_open() should be outside of loop, fix it and fix other problems in following paragrah
5. In Patch 07 use "drop out of RCU-walk"
6. In Patch 08 "latter" should be "later", fix it and restructure the next paragrah removing "Finally"
v3:
- Fix problems in v2 according to Neil's review:
1. Fix minor problems in Patch 1,2,3,8,9,11,12
2. In Patch 4 remove redundant paragraph, condense information, and
make the paragraph connection more smooth.
3. In Patch 10 Fix WALK_NOFOLLOW, WALK_MORE descriptions and
document WALK_TRAILING
- As suggested by Matthew Wilcox and Jonathan Corbet, remove ``...`` literals of function names in this patchset. I put this in a standalone Patch(Patch 13), because automarkup extension doesn't work on my side. You can choose to take it or not take it.
To help review, I've put a compiled html version here:
http://linux-docs.54fox.com/linux_docs/filesystems/path-lookup-v3.html
and highlight changes using hypothesis:
https://hyp.is/go?url=http%3A%2F%2Flinux-docs.54fox.com%2Flinux_docs%2Ffilesystems%2Fpath-lookup-v3.html&group=__world__
Fox Chen (13):
docs: path-lookup: update follow_managed() part
docs: path-lookup: update path_to_nameidata() part
docs: path-lookup: update path_mountpoint() part
docs: path-lookup: update do_last() part
docs: path-lookup: remove filename_mountpoint
docs: path-lookup: Add macro name to symlink limit description
docs: path-lookup: i_op->follow_link replaced with i_op->get_link
docs: path-lookup: update i_op->put_link and cookie description
docs: path-lookup: no get_link()
docs: path-lookup: update WALK_GET, WALK_PUT desc
docs: path-lookup: update get_link() ->follow_link description
docs: path-lookup: update symlink description
docs: path-lookup: use bare function() rather than literals
Documentation/filesystems/path-lookup.rst | 194 ++++++++++------------ 1 file changed, 85 insertions(+), 109 deletions(-)
Signature · 1 line
2.31.1