public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Richard Sharpe <realrichardsharpe@gmail.com>
Cc: Christoph Hellwig <hch@infradead.org>,
	Slawomir Nowakowski <slawomir.nowakowski@open-e.com>,
	xfs@oss.sgi.com
Subject: Re: Problem with file system on iSCSI FileIO
Date: Sat, 25 Sep 2010 13:01:03 -0400	[thread overview]
Message-ID: <20100925170103.GA2422@infradead.org> (raw)
In-Reply-To: <AANLkTik=wkAkbexmO+4WCCT2pusRu-DTq1=yNwv9V5f0@mail.gmail.com>

On Sat, Sep 25, 2010 at 09:54:46AM -0700, Richard Sharpe wrote:
> fileio uses submit_bio to submit the data and it defaults to
> WRITE_THROUGH, NV_CACHE and DIRECT_IO (at least in the trunk, but I
> suspect this has been the case for a long while) however, the person
> making the complaint might have switched off WRITE_THROUGH in the
> pursuit of performance, in which case a crash could corrupt things
> badly but it would depend on whether or not clearing WRITE_THROUGH
> also clears NV_CACHE and what the code assembling the caching mode
> page does (and I have only had a cursory glance at the vdisk code).

If the target uses submit_bio for logical files inside a filesystems
there are hundreds of ways to get exactly the corruption that Slawomir
sees.  How does it obtain the logical to physical mapping?  What locking
does it use agains other access to the file?

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2010-09-25 17:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-23 13:35 Problem with file system on iSCSI FileIO Slawomir Nowakowski
2010-09-23 14:32 ` Christoph Hellwig
2010-09-23 14:58   ` Slawomir Nowakowski
2010-09-24  7:55     ` Christoph Hellwig
2010-09-24 11:11       ` Slawomir Nowakowski
2010-09-24 13:18         ` Emmanuel Florac
2010-09-24 13:46           ` Slawomir Nowakowski
2010-09-25 15:56         ` Christoph Hellwig
2010-09-25 16:54           ` Richard Sharpe
2010-09-25 17:01             ` Christoph Hellwig [this message]
2010-09-25 17:14               ` Richard Sharpe
2010-09-24 13:18       ` Emmanuel Florac
2010-09-24 13:49         ` Slawomir Nowakowski
2010-09-24 14:04           ` Emmanuel Florac
2010-09-24 15:10       ` Richard Sharpe
2010-09-24 18:18         ` Emmanuel Florac
2010-09-24 20:46           ` Ryszard Stawiarski
2010-09-25 14:13             ` Emmanuel Florac
2010-09-25 14:18               ` Richard Sharpe
2010-09-25 19:01                 ` Vladislav Bolkhovitin
2010-09-25 21:23                   ` Emmanuel Florac

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=20100925170103.GA2422@infradead.org \
    --to=hch@infradead.org \
    --cc=realrichardsharpe@gmail.com \
    --cc=slawomir.nowakowski@open-e.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