Support RENAME_EXCHANGE on bpffs
Status from this message: This series was applied to bpf/bpf.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 5 repliesApplied 4/4
- v23 patches 4 repliesSuperseded
- v12 patches 2 repliesSuperseded
Changes in v3 from the cover letter
- Re-use shmem_exchange (Miklos)
Patches in v3 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | libfs: move shmem_exchange to simple_rename_exchangefs/ include/ mm/ | +27 | 2 replies | Applied |
| 2/4 | libfs: support RENAME_EXCHANGE in simple_rename()fs/ | +4 | 3 replies | Applied |
| 3/4 | selftests: bpf: convert test_bpffs to ASSERT macrostools/ | +11 | 0 replies | Applied |
| 4/4 | selftests: bpf: test RENAME_EXCHANGE and RENAME_NOREPLACE on bpffstools/ | +64 | 0 replies | Applied |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Miklos Szeredi | Christian Brauner |
|---|---|---|
| 1/4 | A-b | |
| 2/4 | A-b | |
| 3/4 | ||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next v3 0/4] Support RENAME_EXCHANGE on bpffs
Add support for renameat2(RENAME_EXCHANGE) on bpffs. This is useful for atomic upgrades of our sk_lookup control plane.
v3:
- Re-use shmem_exchange (Miklos)
v2:
- Test exchanging a map and a directory (Alexei)
- Use ASSERT macros (Andrii)
Lorenz Bauer (4):
libfs: move shmem_exchange to simple_rename_exchange
libfs: support RENAME_EXCHANGE in simple_rename()
selftests: bpf: convert test_bpffs to ASSERT macros
selftests: bpf: test RENAME_EXCHANGE and RENAME_NOREPLACE on bpffs
fs/libfs.c | 29 ++++++- include/linux/fs.h | 2 + mm/shmem.c | 24 +----- .../selftests/bpf/prog_tests/test_bpffs.c | 85 ++++++++++++++++--- 4 files changed, 105 insertions(+), 35 deletions(-)
Signature · 1 line
2.32.0