On Mon, 2005-12-26 at 16:39 +0530, Radesh Mohan wrote: > Hi, I was playing around with jfsutils-1.1.10 when i noticed that the > wmap and pmap arrays of the iag shown by jfs_debugfs is not consistent > with the actual arrays. I guess this is because the iag in the buffer > cache has not been updated on the device. I tried using sync() to get > around this problem. But the problem persists. Only an umount , mount > operation seem to update the iag structure on the disk. > Am I missing something here? or is it a bug?
I think it's partly a bug. I've recently discovered that the metadata wasn't being marked dirty properly in the page cache. This patch may fix it: http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ac17b8b57013a3e38d1958f66a218f15659e5752 It's in 2.6.15-rc1 and later kernels. Since the logredo function in jfs_fsck rebuilds much of the inode map, I'm not sure if this may cause any serious problems. The maps should be correct after either the volume is unmounted or the journal is replayed. > Thanks and regards, > Radesh -- David Kleikamp IBM Linux Technology Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Jfs-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jfs-discussion
