All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tahsin Erdogan <tahsin@google.com>
To: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: Andreas Dilger <adilger@dilger.ca>,
	"Theodore Ts'o" <tytso@mit.edu>,
	linux-ext4@vger.kernel.org
Subject: Re: First stab at ea inode disk format doc updates
Date: Thu, 22 Jun 2017 11:52:41 -0700	[thread overview]
Message-ID: <CAAeU0aMoK2Vp=-JgZwb+J8hZkTD_YxA+ZTsW31FoGrL5O1RmiQ@mail.gmail.com> (raw)
In-Reply-To: <20170622181856.GD4728@birch.djwong.org>

hi Darrick,

> Also -- what is the value of i_mtime (ea inode parent pointer) when the
> refcount > 1?

In the current implementation, xattr inode format is assumed to be in
the new format (refcount in i_ctime and l_i_version, hash in i_atime).
parent xattr e_hash field incorporates xattr inode hash to achieve
strong binding. If hash validation fails, we fallback to old binding
validation (xattr inode i_mtime == parent ino && xattr inode
i_generation == parent i_generation). The idea is to allow migration
from old lustre disks. So, if refcount is valid then value in i_mtime
is not defined.

  reply	other threads:[~2017-06-22 18:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-22 18:18 First stab at ea inode disk format doc updates Darrick J. Wong
2017-06-22 18:52 ` Tahsin Erdogan [this message]
2017-06-29 23:50 ` Andreas Dilger

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='CAAeU0aMoK2Vp=-JgZwb+J8hZkTD_YxA+ZTsW31FoGrL5O1RmiQ@mail.gmail.com' \
    --to=tahsin@google.com \
    --cc=adilger@dilger.ca \
    --cc=darrick.wong@oracle.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@mit.edu \
    /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.