Files
android_kernel_xiaomi_sm8450/fs/nfsd
J. Bruce Fields dc46bba709 nfsd: use i_wrlock instead of rcu for nfsdfs i_private
synchronize_rcu() gets called multiple times each time a client is
destroyed.  If the laundromat thread has a lot of clients to destroy,
the delay can be noticeable.  This was causing pynfs test RENEW3 to
fail.

We could embed an rcu_head in each inode and do the kref_put in an rcu
callback.  But simplest is just to take a lock here.

(I also wonder if the laundromat thread would be better replaced by a
bunch of scheduled work or timers or something.)

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2019-08-15 14:53:02 -04:00
..
2014-07-08 17:14:27 -04:00
2019-07-03 17:52:08 -04:00
2019-07-08 23:16:11 -04:00
2019-07-09 19:36:33 -04:00
2019-07-03 20:54:03 -04:00
2019-07-03 17:52:50 -04:00
2018-08-09 16:11:21 -04:00
2018-04-03 15:08:15 -04:00
2019-07-03 17:52:09 -04:00
2019-07-03 20:54:03 -04:00
2018-09-25 20:34:54 -04:00