Device name and RCU string
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 10 repliesIn review
- v13 patches 5 repliesSuperseded
Changes in v2 from the cover letter
- drop patch adding RCU protection around update_dev_time(), there's a sleeping allocation inside; after revisiting the RCU requirements, I don't think it's needed and we can access the raw string (the same way it was done with rcu_string), the time update is called from scratch superblocks and after the ->dev_list hook is removed, so there's no chance it can be reached from device_list_add
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: open code RCU for device namefs/ fs/ fs/ | +31 | 9 replies | |
| 2/2 | btrfs: remove struct rcu_stringfs/ fs/ fs/ +1 more | +0 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Daniel Vacek |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] Device name and RCU string
v2:
- drop patch adding RCU protection around update_dev_time(), there's a sleeping allocation inside; after revisiting the RCU requirements, I don't think it's needed and we can access the raw string (the same way it was done with rcu_string), the time update is called from scratch superblocks and after the ->dev_list hook is removed, so there's no chance it can be reached from device_list_add
After recent simplifications of the RCU usage in messages, this patchset implements the RCU protection directly without the RCU string so this API can be removed completely as we don't have nor plan anything else to use it for.
David Sterba (2):
btrfs: open code RCU for device name
btrfs: remove struct rcu_string
fs/btrfs/rcu-string.h | 40 ---------------------------------------- fs/btrfs/volumes.c | 29 +++++++++++++++++------------ fs/btrfs/volumes.h | 6 +++--- fs/btrfs/zoned.c | 23 +++++++++++------------ 4 files changed, 31 insertions(+), 67 deletions(-) delete mode 100644 fs/btrfs/rcu-string.h
Signature · 1 line
2.49.0