linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Expected getdents behaviour
@ 2005-09-15 13:57 Akshat Aranya
  2005-09-15 14:03 ` Peter Staubach
  2005-09-15 14:07 ` Anton Altaparmakov
  0 siblings, 2 replies; 32+ messages in thread
From: Akshat Aranya @ 2005-09-15 13:57 UTC (permalink / raw)
  To: linux-fsdevel

I noticed that bonnie++, in its directory tests, does the following on
a large directory

open(dir);
while (getdents() != 0)
{
   unlink all the returned entries from getdents
}
close(dir);

My question is whether the filesystem's readdir is expected to
consider the offset value in the second readdir to still be valid,
given that entries from the directory were deleted after the first
readdir.

Akshat

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2005-09-16 11:58 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-15 13:57 Expected getdents behaviour Akshat Aranya
2005-09-15 14:03 ` Peter Staubach
2005-09-15 14:07 ` Anton Altaparmakov
2005-09-15 14:12   ` Anton Altaparmakov
2005-09-15 14:45     ` Miklos Szeredi
2005-09-15 15:17       ` Anton Altaparmakov
2005-09-15 16:41         ` Jan Blunck
2005-09-15 17:46           ` Jörn Engel
2005-09-15 18:19             ` Theodore Ts'o
2005-09-15 21:04               ` Anton Altaparmakov
2005-09-16  7:50                 ` Nikita Danilov
2005-09-15 21:47               ` Jörn Engel
2005-09-16  7:29               ` Nikita Danilov
2005-09-16 11:58                 ` Theodore Ts'o
2005-09-15 21:00             ` Anton Altaparmakov
2005-09-15 21:15               ` Charles P. Wright
2005-09-15 21:19                 ` Anton Altaparmakov
2005-09-15 20:28           ` Anton Altaparmakov
2005-09-15 16:51         ` Miklos Szeredi
2005-09-15 21:17           ` Anton Altaparmakov
2005-09-15 15:51     ` Theodore Ts'o
2005-09-15 16:52       ` Bryan Henderson
2005-09-15 16:57         ` Jeremy Allison
2005-09-15 20:51           ` Anton Altaparmakov
2005-09-15 20:50         ` Anton Altaparmakov
2005-09-15 23:41           ` Bryan Henderson
2005-09-15 20:25       ` Anton Altaparmakov
2005-09-16  3:39         ` Theodore Ts'o
2005-09-16 11:57           ` Dave Kleikamp
2005-09-15 18:08     ` Nikita Danilov
2005-09-16 11:23       ` Miklos Szeredi
2005-09-16  1:28   ` tridge

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