xfs
[Top] [All Lists]

TAKE 912426 - write barrier support

To: linux-xfs@xxxxxxxxxxx, sgi.bugs.xfs@xxxxxxxxxxxxxxxxx
Subject: TAKE 912426 - write barrier support
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 6 Sep 2005 17:44:59 -0500
Sender: linux-xfs-bounce@xxxxxxxxxxx
Issue all log sync operations as ordered writes.  In addition flush the
disk cache on fsync if the sync cached operation didn't sync the log to
disk (this requires some additional bookeping in the transaction and log
code).
If the device doesn't claim to support barriers, the filesystem has an
extern log volume or the trial superblock write with barriers enabled
failed we disable barriers and print a warning.  We should probably fail
the mount completely, but that could lead to nasty boot failures for
the root filesystem.

Not enabled by default yet, needs more destructive testing first.


Date:  Tue Sep  6 15:44:36 PDT 2005
Workarea:  naboo.americas.sgi.com:/go/space/hch/xfs-2.6.x
Inspected by:  tes

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


Modid:  xfs-linux:xfs-kern:198723a
fs/xfs/xfsidbg.c - 1.282 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfsidbg.c.diff?r1=text&tr1=1.282&r2=text&tr2=1.281&f=h
fs/xfs/xfs_log.h - 1.74 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_log.h.diff?r1=text&tr1=1.74&r2=text&tr2=1.73&f=h
fs/xfs/xfs_log.c - 1.308 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_log.c.diff?r1=text&tr1=1.308&r2=text&tr2=1.307&f=h
fs/xfs/xfs_vnodeops.c - 1.650 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_vnodeops.c.diff?r1=text&tr1=1.650&r2=text&tr2=1.649&f=h
fs/xfs/xfs_vfsops.c - 1.472 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_vfsops.c.diff?r1=text&tr1=1.472&r2=text&tr2=1.471&f=h
fs/xfs/xfs_clnt.h - 1.47 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_clnt.h.diff?r1=text&tr1=1.47&r2=text&tr2=1.46&f=h
fs/xfs/xfs_mount.h - 1.201 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_mount.h.diff?r1=text&tr1=1.201&r2=text&tr2=1.200&f=h
fs/xfs/xfs_trans.c - 1.164 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_trans.c.diff?r1=text&tr1=1.164&r2=text&tr2=1.163&f=h
fs/xfs/xfs_trans.h - 1.132 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_trans.h.diff?r1=text&tr1=1.132&r2=text&tr2=1.131&f=h
fs/xfs/linux-2.6/xfs_super.h - 1.64 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_super.h.diff?r1=text&tr1=1.64&r2=text&tr2=1.63&f=h
fs/xfs/linux-2.6/xfs_super.c - 1.343 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_super.c.diff?r1=text&tr1=1.343&r2=text&tr2=1.342&f=h
fs/xfs/linux-2.6/xfs_buf.h - 1.108 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_buf.h.diff?r1=text&tr1=1.108&r2=text&tr2=1.107&f=h
fs/xfs/linux-2.6/xfs_buf.c - 1.207 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_buf.c.diff?r1=text&tr1=1.207&r2=text&tr2=1.206&f=h
fs/xfs/linux-2.6/xfs_ksyms.c - 1.27 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_ksyms.c.diff?r1=text&tr1=1.27&r2=text&tr2=1.26&f=h


<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 912426 - write barrier support, Christoph Hellwig <=