Re; svn commit: r352393 - head/sys/fs/nfsclient

Rick Macklem rmacklem at uoguelph.ca
Mon Sep 16 15:28:55 UTC 2019


Resent to correct address...

________________________________________
From: Rick Macklem
Sent: Monday, September 16, 2019 11:27 AM
To: kib at freebsd.org; peterj at freebsd.org
Cc: src-svn-all at freebsd.org
Subject: Re; svn commit: r352393 - head/sys/fs/nfsclient

Hi Kostik,

I'm afraid there was a reason that only certain cases (where the file was
being shrunk) did the vnode_pager_setsize() call after the NFS node
lock is released.

See the commit log message for r252528.

If vnode_pager_setsize() now acquires a sleep lock for the case where the
size is increasing, it sounds like the NFS node lock will have to become a
sleep lock instead of a mutex.
(If needed, I can get working on this in a day or two.)

rick


More information about the svn-src-all mailing list