Re: [RFC] use a shared lock for VOP_GETEXTATTR

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Thu, 28 Mar 2013 07:32:05 +0200
On Wed, Mar 27, 2013 at 06:37:51PM -0700, mdf_at_FreeBSD.org wrote:
> VOP_GETEXTATTR is currently called with an exclusive lock, which seems
> like overkill for what is essentially a read operation.  I had a look
> over the various in-tree filesystems and it didn't look like any of
> them will have a problem if a shared-mode lock is used for
> vop_getextattr.
> 
> Does anyone know otherwise?  Is someone using extended attributes
> regularly who can test this?

I think this change should be fine. At least it seems to for UFS.

What other filesystems did you audited ?

Received on Thu Mar 28 2013 - 04:32:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:36 UTC