linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Usefulness of max_transid in the tree search?
@ 2010-08-20 21:45 Jan Kara
  0 siblings, 0 replies; only message in thread
From: Jan Kara @ 2010-08-20 21:45 UTC (permalink / raw)
  To: chris.mason; +Cc: linux-btrfs

  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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-20 21:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-20 21:45 Usefulness of max_transid in the tree search? Jan Kara

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).