From: Jan Kara <jack@suse.cz>
To: chris.mason@oracle.com
Cc: linux-btrfs@vger.kernel.org
Subject: Usefulness of max_transid in the tree search?
Date: Fri, 20 Aug 2010 23:45:31 +0200 [thread overview]
Message-ID: <20100820214531.GA13960@quack.suse.cz> (raw)
Hi,
I just had a look at how btrfs ioctl searches the tree for new items and
while looking at the code I've noticed that maximum transaction id as
specified in the search is rather useless.
If I understand right, transaction id is stored in a header of each node.
Thus when any item of the node gets modified, new transaction id gets
recorded. So when you give the search some maximum transaction id, you will
not receive items in nodes where some item has been modified in a later
transaction. That seems like a rather useless set of items to me... Or am I
missing something?
Honza
reply other threads:[~2010-08-20 21:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20100820214531.GA13960@quack.suse.cz \
--to=jack@suse.cz \
--cc=chris.mason@oracle.com \
--cc=linux-btrfs@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).