Skip to contentSkip to conversation

TAKE 957348 - Re-initialize the per-cpu superblock counters after recovery.

DISCUSSION Lachlan McIlroy 1 participant 1 message Jan 29, 2007

lore
Share & tools
lore
#0 lore raw

Re-initialize the per-cpu superblock counters after recovery.

After filesystem recovery the superblock is re-read to bring in any changes. If the per-cpu superblock counters are not re-initialized from the superblock then the next time the per-cpu counters are disabled they might overwrite the global counter with a bogus value.

Date:  Tue Jan 30 00:18:02 AEDT 2007
Workarea:  vpn-emea-sw-emea-160-31.emea.sgi.com:/home/lachlan/isms/2.6.x-xfs
Inspected by:  dgc
Author:  lachlan

The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb

Modid: xfs-linux-melb:xfs-kern:27999a fs/xfs/xfs_log_recover.c - 1.315 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_log_recover.c.diff?r1=text&tr1=1.315&r2=text&tr2=1.314&f=h
fs/xfs/xfs_mount.h - 1.234 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_mount.h.diff?r1=text&tr1=1.234&r2=text&tr2=1.233&f=h
fs/xfs/xfs_mount.c - 1.392 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_mount.c.diff?r1=text&tr1=1.392&r2=text&tr2=1.391&f=h
- Re-initialize the per-cpu superblock counters after recovery.