Skip to content

nfsd: improvements for wake_up_bit/var

NeilBrown linux-nfs 1 version Applied

Status from this message: Applied to nfsd-next for v6.12, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2nfsd: use clear_and_wake_up_bit()fs/nfsd/nfs4recover.c fs/nfsd/nfs4state.c+2 -60 replies
2/2nfsd: avoid races with wake_up_var()fs/nfsd/nfs4state.c+4 -10 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.

PatchJeff Layton
SeriesR-b
1/2
2/2

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

Read the v1 thread

Cover letter [PATCH 0/2] nfsd: improvements for wake_up_bit/var

I've been digging into wake_up_bit and wake_up_var recently. There are a lot of places where the required barriers aren't quite right.

This patch fixes them up for nfsd. The bugs are mostly minor, though the rp_locked on might be a credible problem on weakly ordered hosts (e.g. power64).

NeilBrown

[PATCH 1/2] nfsd: use clear_and_wake_up_bit()
[PATCH 2/2] nfsd: avoid races with wake_up_var()