| To: | Matt Schillinger <mschilli@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: XFS mount option |
| From: | Eric Sandeen <sandeen@xxxxxxx> |
| Date: | 13 Jan 2003 12:00:02 -0600 |
| Cc: | linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <1042480241.12651.5.camel@mosix> |
| References: | <20030110091029.49057.qmail@web14808.mail.yahoo.com> <3E1F4879.7090909@wgate.com> <1042480241.12651.5.camel@mosix> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
After just a quick glance, it looks like we do handle the sync option.
in xfs_write, we do:
/* Handle various SYNC-type writes */
if ((file->f_flags & O_SYNC) || IS_SYNC(file->f_dentry->d_inode)) {
... etc ...
and the IS_SYNC looks for the MS_SYNCHRONOUS flag on the mount, which is
set when you mount with sync.
So there's the 10,000-foot handwaving answer. :) You might do some
testing to see if this all really works.
-Eric
On Mon, 2003-01-13 at 11:50, Matt Schillinger wrote:
> I have heard that xfs mounts will always ignore the mount option 'sync',
> and mount asynchronously.. Is this true? Is there any danger in this?
>
> Matt Schillinger
> mschilli@xxxxxxxxxxx
>
--
Eric Sandeen XFS for Linux http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx SGI, Inc. 651-683-3102
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | XFS mount option, Matt Schillinger |
|---|---|
| Next by Date: | Re: Strange XFS corruption..., Russell Cattelan |
| Previous by Thread: | XFS mount option, Matt Schillinger |
| Next by Thread: | PARTIAL TAKE 877258 - If an xfs filesystem is corrupted, mount can hang forever, Eric Sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |