All of lore.kernel.org
 help / color / mirror / Atom feed
* reiser4 metas/bmap problem
@ 2004-07-28 23:26 Matt Stegman
  2004-07-29  1:25 ` Andreas Dilger
  0 siblings, 1 reply; 12+ messages in thread
From: Matt Stegman @ 2004-07-28 23:26 UTC (permalink / raw)
  To: reiserfs-list

Hello,

I'm finally taking the time to start testing reiser4, and I'm running into
something odd.  Some of the time, reiser4 doesn't report a file's blocks
until I run 'sync'.  This shows up in metas/bmap as many blocks are
reported as 0.

# dd if=/dev/zero of=/mnt/reiser4/file bs=1M count=50
50+0 records in
50+0 records out
# chmod +x /mnt/reiser4/file
# grep '^0$' /mnt/reiser4/file/metas/bmap | wc -l
1792
# sleep 100
# grep '^0$' /mnt/reiser4/file/metas/bmap | wc -l
1792
# sync
# grep '^0$' /mnt/reiser4/file/metas/bmap | wc -l
0

I tried waiting to see if it gets written out in the background
asynchronously.  As you can see, it still shows up after a couple minutes,
so it doesn't appear to get written until an actual 'sync' command is run.
But it shows up inconsistently - many files don't show this.

The filefrag utility from e2fsprogs 1.35 also has problems with these
files, I believe it uses FIBMAP ioctl to get a blockmap of the file.

-- 
Matt Stegman



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

end of thread, other threads:[~2004-08-01 12:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-28 23:26 reiser4 metas/bmap problem Matt Stegman
2004-07-29  1:25 ` Andreas Dilger
2004-07-29  7:41   ` Hans Reiser
2004-07-29  7:48     ` Vladimir V. Saveliev
2004-07-30 18:37       ` Hans Reiser
2004-07-30 19:26         ` Andreas Dilger
2004-07-31 11:43         ` Vladimir V. Saveliev
2004-07-31 17:08           ` Christophe Saout
2004-08-01 12:18             ` Vladimir V. Saveliev
2004-07-29  8:07   ` Vladimir V. Saveliev
2004-07-30  2:30     ` daniel.poelzleithner
2004-07-30  2:42       ` Andreas Dilger

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.