All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tao Ma <tao.ma@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 1/1] ocfs2: Add extended attribute support v3
Date: Tue, 05 Aug 2008 12:31:10 +0800	[thread overview]
Message-ID: <4897D78E.3050101@oracle.com> (raw)
In-Reply-To: <20080805035110.GR28014@wotan.suse.de>

Hi Mark,

Mark Fasheh wrote:
> On Tue, Aug 05, 2008 at 10:39:39AM +0800, Tao Ma wrote:
>>>>> Or are you trying to protect xattr against itself? If that's the case, 
>>>>> you
>>>>> could push this lock up to the top and take it around entire operations.
>>>> Actually I am trying to protect xattr read/write by this semaphore,
>>>> since we found a bug about it.
>>>> http://oss.oracle.com/bugzilla/show_bug.cgi?id=990
>>>>
>>>> So I need change comment about xattr semaphore.
>>>> /* protects extended attribute change on this inode */
>>> You could, or how about we just take i_mutex at the top of our xattr
>>> operations for now? If we need the extra performance that more complicated
>>> locking gives us, we can add this later.
>> We can't use i_mutex because of the performance issue. And actually 
>> xattr_sem is done by me at the very beginning and I think it should be 
>> included in Tiger's patch, so asked him to merge it to his patch. ;)
>> I originally used i_mutex in get and list to protect xattr, but as 
>> tristan tested the patch, he told me that the performance is very bad 
>> compared with ext3, so I looked at how ext3 implemented it and there 
>> comes out the usage of xattr_sem.
> 
> Ok, if that's the case then we can certainly keep xattr_sem. I'm curious
> though - what tests are we talking about here?
http://oss.oracle.com/osswiki/OCFS2/XattrTest

btw, tristan.ye from oracle will focus on ocfs2 test in the following 
year. Thank you, tristan.

Regards,
Tao

  reply	other threads:[~2008-08-05  4:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-25 21:57 [Ocfs2-devel] [PATCH 1/1] ocfs2: Add extended attribute support v3 Mark Fasheh
2008-07-31  9:37 ` Tiger Yang
2008-08-04 21:34   ` Mark Fasheh
2008-08-05  2:39     ` Tao Ma
2008-08-05  3:51       ` Mark Fasheh
2008-08-05  4:31         ` Tao Ma [this message]
2008-08-06  2:34     ` Tiger Yang
2008-08-06 22:14       ` Mark Fasheh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4897D78E.3050101@oracle.com \
    --to=tao.ma@oracle.com \
    --cc=ocfs2-devel@oss.oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.