[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173444730015.11407.7732863315759421903.b4-ty@oracle.com>
Date: Tue, 17 Dec 2024 09:55:51 -0500
From: cel@...nel.org
To: jlayton@...nel.org,
neilb@...e.de,
okorniev@...hat.com,
Dai.Ngo@...cle.com,
tom@...pey.com,
trondmy@...nel.org,
anna@...nel.org,
linux-nfs@...r.kernel.org,
netdev@...r.kernel.org,
Yang Erkun <yangerkun@...weicloud.com>
Cc: Chuck Lever <chuck.lever@...cle.com>,
yangerkun@...wei.com,
yi.zhang@...wei.com
Subject: Re: [RFC PATCH 0/5] nfsd/sunrpc: cleanup resource with sync mode
From: Chuck Lever <chuck.lever@...cle.com>
On Mon, 16 Dec 2024 22:21:51 +0800, Yang Erkun wrote:
> After f8c989a0c89a ("nfsd: release svc_expkey/svc_export with
> rcu_work"), svc_export_put/expkey_put will call path_put with async
> mode. This can lead some unexpected failure:
>
> mkdir /mnt/sda
> mkfs.xfs -f /dev/sda
> echo "/ *(rw,no_root_squash,fsid=0)" > /etc/exports
> echo "/mnt *(rw,no_root_squash,fsid=1)" >> /etc/exports
> exportfs -ra
> service nfs-server start
> mount -t nfs -o vers=4.0 127.0.0.1:/mnt /mnt1
> mount /dev/sda /mnt/sda
> touch /mnt1/sda/file
> exportfs -r
> umount /mnt/sda # failed unexcepted
>
> [...]
Applied to nfsd-fixes for v6.13, thanks!
[1/5] nfsd: Revert "nfsd: release svc_expkey/svc_export with rcu_work"
commit: 69d803c40edeaf94089fbc8751c9b746cdc35044
--
Chuck Lever
Powered by blists - more mailing lists