nfs: improve use of wake_up_bit and wake_up_var
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | sunrpc: remove explicit barrier from rpc_make_runnable()include/ net/ | +7 | 0 replies | |
| 2/11 | sunrpc: use clear_and_wake_up_bit() for XPRT_LOCKED.net/ | +1 | 0 replies | |
| 3/11 | nfs: use clear_and_wake_up_bit().fs/ fs/ | +7 | 0 replies | |
| 4/11 | nfs: combine NFS_LAYOUT_RETURN and NFS_LAYOUT_RETURN_LOCKfs/ fs/ | +4 | 2 replies | |
| 5/11 | nfs: use clear_and_wake_up_bit() in pnfs codefs/ | +4 | 0 replies | |
| 6/11 | nfs: use store_release_wake_up() for clearing d_fsdatafs/ | +1 | 0 replies | |
| 7/11 | sunrpc: discard rpc_wait_bit_killable()net/ | +3 | 0 replies | |
| 8/11 | nfs: discard nfs_wait_bit_killable()fs/ fs/ fs/ +2 more | +9 | 0 replies | |
| 9/11 | nfs: add memory barrier before calling wake_up_var on cl_statefs/ fs/ | +2 | 0 replies | |
| 10/11 | nfs: use atomic_dec_and_wake_up()fs/ fs/ | +2 | 0 replies | |
| 11/11 | nfs: use wait_var_event_spinlock() to wait for nfsi->layout to change.fs/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/11] nfs: improve use of wake_up_bit and wake_up_var
wake_up_bit and wake_up_var are fragile interfaces as they sometimes require a barrier before them. Recently some new interfaces were added which avoid the need for explicit barriers. If we can remove all instances of those fragile interfaces, that would be ideal.
Unforunately there is one can in NFS that does not fit the new interfaces. However most do. This series replaces most use of the old interfaces with the new, and adds various related cleanups.
Thanks,
NeilBrown