All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Zhuravlev <Alex.Zhuravlev@sun.com>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] Commit on share
Date: Sun, 01 Jun 2008 20:54:14 +0400	[thread overview]
Message-ID: <4842D436.9090005@sun.com> (raw)
In-Reply-To: <20080531024524.GB2992@webber.adilger.int>

Andreas Dilger wrote:
> I think the commit callbacks should be able to free this data, there
> should never be any such items on an object with di_transno > last_committed.
> Also, isn't it enough to store a single such item per object directly
> on the object?  Once we know there is ANY such conflict that is enough
> to invoke COS.  For per-object data this can be stored on 1.6 in the
> i_filterdata structure that we can attach onto every server inode.

we don't control inode's lifetime. in order to use i_filterdata we'd have
to pin inode. then we'd have to unpin inode. we can't do this from commit
callback as iput() may cause inode delete. so, we'd have to use special
thread - not that nice.

I believe originally hash table is a intermediate solution for 1.6 and 1.8.
in new server we do have own objects with all needed callbacks to control
data like i_filterdata.

thanks, Alex

  parent reply	other threads:[~2008-06-01 16:54 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-27 10:44 [Lustre-devel] Commit on share Peter Braam
2008-05-27 15:43 ` Mikhail Pershin
2008-06-01  5:00   ` Peter Braam
2008-05-29 17:42 ` Mikhail Pershin
2008-05-31  2:45   ` Andreas Dilger
2008-05-31  9:37     ` Alex Zhuravlev
2008-06-01  7:03     ` Mikhail Pershin
2008-06-03 18:41       ` Andreas Dilger
2008-06-03 18:56         ` Alex Zhuravlev
2008-06-01 16:54     ` Alex Zhuravlev [this message]
2008-06-02  8:42 ` Alex Zhuravlev
2008-06-03 18:50   ` Andreas Dilger
2008-06-04  1:11     ` Peter Braam
2008-06-04 10:50     ` Nikita Danilov
2008-06-11 14:21 ` Alexander Zarochentsev
2008-06-11 14:35   ` Alex Zhuravlev
2008-06-11 15:26   ` Peter Braam
2008-06-11 16:27     ` Alex Zhuravlev
2008-06-11 16:28       ` Peter Braam
2008-06-11 16:46     ` Alexander Zarochentsev

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=4842D436.9090005@sun.com \
    --to=alex.zhuravlev@sun.com \
    --cc=lustre-devel@lists.lustre.org \
    /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.