From: dgc@sgi.com (David Chinner)
To: xfs@oss.sgi.com, sgi.bugs.xfs@engr.sgi.com
Cc: sdoyon@max-t.com
Subject: TAKE 956323 - File system block reservation mechanism is broken
Date: Wed, 10 Jan 2007 16:43:14 +1100 (EST) [thread overview]
Message-ID: <20070110054314.A64F058CF82A@chook.melbourne.sgi.com> (raw)
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.
next reply other threads:[~2007-01-10 5:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-10 5:43 David Chinner [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-01-16 12:04 TAKE 956323 - File system block reservation mechanism is broken David Chatterton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070110054314.A64F058CF82A@chook.melbourne.sgi.com \
--to=dgc@sgi.com \
--cc=sdoyon@max-t.com \
--cc=sgi.bugs.xfs@engr.sgi.com \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox