Skip to content

nfsd: fix deadlock in move_to_close_lru()

NeilBrown linux-nfs 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 3 repliesIn review
  2. v24 patches 16 repliesSuperseded
  3. v13 patches 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nfsd: move nfsd4_cstate_assign_replay() earlier in open handling.fs/nfsd/nfs4state.c+5 -80 replies
2/4nfsd: perform all find_openstateowner_str calls in the one place.fs/nfsd/nfs4state.c+40 -532 replies
3/4nfsd: replace rp_mutex to avoid deadlock in move_to_close_lru()fs/nfsd/nfs4state.c fs/nfsd/state.h+37 -80 replies
4/4nfsd: drop st_mutex_mutex before calling move_to_close_lru()fs/nfsd/nfs4state.c+7 -40 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJeff Layton
SeriesR-b
1/4
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH 0/4 v3] nfsd: fix deadlock in move_to_close_lru()

This is very similar to v2 with:
- first two patches swapped
- while(1) loop changed to "goto retry"
- add a comment to patch 3
- rebase on nfsd-next
- rb from Jeff added.

NeilBrown

[PATCH 1/4] nfsd: move nfsd4_cstate_assign_replay() earlier in open [PATCH 2/4] nfsd: perform all find_openstateowner_str calls in the [PATCH 3/4] nfsd: replace rp_mutex to avoid deadlock in [PATCH 4/4] nfsd: drop st_mutex_mutex before calling