rewrite of CB_LAYOUTRECALL and layoutstate code, try 2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest22 patches 18 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/22 | pnfs-submit: remove RPC_ASSASSINATED(task) checksfs/ | +0 | 0 replies | |
| 2/22 | pnfs-submit: remove unnecessary field lgp->statusfs/ include/ | +1 | 0 replies | |
| 3/22 | pnfs-submit: layoutreturn's rpc_call_op functions need to handle bulk returnsfs/ fs/ fs/ +1 more | +23 | 0 replies | |
| 4/22 | pnfs-submit: argument to should_free_lseg changed from lseg to rangefs/ | +7 | 0 replies | |
| 5/22 | pnfs-submit: change layout state seqlock to a spinlockfs/ fs/ fs/ +1 more | +26 | 0 replies | |
| 6/22 | NFSv4.1: Callback share session between opsfs/ fs/ fs/ | +113 | 0 replies | |
| 7/22 | SQUASHME: pnfs-submit: fixups for nfsv4.1 callbacksfs/ | +23 | 0 replies | |
| 8/22 | SQUASHME: allow cb_sequence changes to compile without v4.1fs/ fs/ fs/ +1 more | +31 | 2 replies | |
| 9/22 | pnfs-submit: change pnfs_layout_segment refcounting from kref to atomic_tfs/ fs/ | +17 | 0 replies | |
| 10/22 | pnfs-submit: Have LAYOUTGETS wait when lo->plh_block_lgets is setfs/ fs/ fs/ +2 more | +22 | 0 replies | |
| 11/22 | pnfs-submit: remove _pnfs_can_return_lseg call from pnfs_clear_lseg_listfs/ | +80 | 0 replies | |
| 12/22 | pnfs_submit: nfs4_layoutreturn_release should not reference resultsfs/ fs/ fs/ +2 more | +26 | 0 replies | |
| 13/22 | pnfs-submit: reorganize struct cb_layoutrecallargsfs/ fs/ fs/ | +28 | 0 replies | |
| 14/22 | pnfs-submit: rename lo->state to lo->plh_flagsfs/ fs/ | +12 | 0 replies | |
| 15/22 | pnfs-submit: change pnfs_layout_hdr refcount to atomic_tfs/ fs/ | +30 | 0 replies | |
| 16/22 | pnfs-submit: rewrite of layout state handling and cb_layoutrecallfs/ fs/ fs/ +6 more | +497 | 13 replies | |
| 17/22 | pnfs-submit: increase number of outstanding CB_LAYOUTRECALLS we can handlefs/ fs/ fs/ +2 more | +44 | 0 replies | |
| 18/22 | pnfs-submit: roc add layoutreturn op to close compoundfs/ fs/ fs/ +3 more | +143 | 8 replies | |
| 19/22 | pnfs-submit refactor layoutcommit xdr structuresfs/ fs/ fs/ +1 more | +39 | 0 replies | |
| 20/22 | pnfs-submit refactor pnfs_layoutcommit_setupfs/ fs/ | +51 | 0 replies | |
| 21/22 | pnfs_submit: roc add layoutcommit op to close compoundfs/ fs/ include/ | +19 | 0 replies | |
| 22/22 | SQUASHME: make roc patches compile without v4.1fs/ fs/ fs/ | +79 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/22] rewrite of CB_LAYOUTRECALL and layoutstate code, try 2
This is version 2 of code that rewrites the layout state handling and the CB_LAYOUTRECALL paths, incorporating suggestions from Benny, as well as some compile fixes for the non-v4.1 case, and reordering the patches to put the simpler, less intrusive changes first.
I'm not entirely happy with the non-v4.1 compile fixes I added, but they are a starting point.
It applies to Benny's current pnfs-submit branch (commit eb04948a).
patches 01-05 are straightforward tweaking preparing for the bigger changes
patches 06-08 modify CB_COMPUND processing to pass the CB_SEQUENCE info (the session in particular) up to subsequent operations.
patches 09-15 are more substantial changes affecting refcounting and blocking.
patches 16-17 are the point of it all, the rewrite of the stateid and race handling for LAYOUTGET, LAYOUTRETURN, and CB_LAYOUTRECALL
patches 18-22 are Andy's code that puts LAYOUTCOMMIT and LAYOUTRETURN in the same compound as CLOSE
Fred