Date: Wed, 3 Feb 2021 22:43:10 +0800 From: Ka Ho Ng <khng300@gmail.com> To: freebsd-hackers@freebsd.org Subject: About upgrading vnode lock in VOP Message-ID: <CANnchUY6VsOW7gJRFm8MgiNZ0DV0fBHo6o=A8pdara5CHYUedg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all, Is it generally okay if an VOP upgrades the vnode lock from shared lock to exclusive lock in case it is held as shared lock? The reason behind is, the VOP would possibly extend the file size. Ka Ho
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANnchUY6VsOW7gJRFm8MgiNZ0DV0fBHo6o=A8pdara5CHYUedg>