* TAKE 956323 - File system block reservation mechanism is broken
@ 2007-01-10 5:43 David Chinner
0 siblings, 0 replies; 2+ messages in thread
From: David Chinner @ 2007-01-10 5:43 UTC (permalink / raw)
To: xfs, sgi.bugs.xfs; +Cc: sdoyon
Fix block reservation mechanism.
The block reservation mechanism has been broken since the per-cpu
superblock counters were introduced. Make the block reservation code
work with the per-cpu counters by syncing the counters, snapshotting
the amount of available space and then doing a modifcation of the
counter state according to the result. Continue in a loop until we
either have no space available or we reserve some space.
Date: Wed Jan 10 16:42:29 AEDT 2007
Workarea: chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by: hch@infradead.org
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:27895a
fs/xfs/xfs_vfsops.c - 1.513 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_vfsops.c.diff?r1=text&tr1=1.513&r2=text&tr2=1.512&f=h
- Use the flags superblock counter sync function variant.
fs/xfs/xfs_mount.h - 1.232 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_mount.h.diff?r1=text&tr1=1.232&r2=text&tr2=1.231&f=h
- Change the per-cpu counter sync interface to export a flags variant
rather than specific, similar functions.
fs/xfs/xfs_mount.c - 1.391 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_mount.c.diff?r1=text&tr1=1.391&r2=text&tr2=1.390&f=h
- Change the per-cpu counter sync interface to export a flags variant
rather than specific, similar functions.
fs/xfs/xfs_fsops.c - 1.120 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_fsops.c.diff?r1=text&tr1=1.120&r2=text&tr2=1.119&f=h
- Fix the block reservation mechanism to work with per-cpu superblock
counters.
^ permalink raw reply [flat|nested] 2+ messages in thread
* TAKE 956323 - File system block reservation mechanism is broken
@ 2007-01-16 12:04 David Chatterton
0 siblings, 0 replies; 2+ messages in thread
From: David Chatterton @ 2007-01-16 12:04 UTC (permalink / raw)
To: sgi.bugs.xfs; +Cc: xfs
Fix block reservation changes for non-SMP systems.
Signed-off-by: Kevin Jamieson <kjamieson@bycast.com>
Date: Tue Jan 16 23:03:21 AEDT 2007
Workarea: chook.melbourne.sgi.com:/build/chatz/isms/xfs-linux
Inspected by: kjamieson,dgc
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/xfs-kern/xfs-linux-melb
Modid: xfs-linux-melb:xfs-kern:27940a
xfs_mount.h - 1.233 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_mount.h.diff?r1=text&tr1=1.233&r2=text&tr2=1.232&f=h
- No-op xfs_icsb_sync_counters_flags on non-SMP builds.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-16 12:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-16 12:04 TAKE 956323 - File system block reservation mechanism is broken David Chatterton
-- strict thread matches above, loose matches on Subject: below --
2007-01-10 5:43 David Chinner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox