public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Todd Poynor <tpoynor@mvista.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Subject: Re: mtdblock cache flush at remount
Date: Mon, 13 Sep 2004 18:08:45 -0700	[thread overview]
Message-ID: <4146449D.8030305@mvista.com> (raw)
In-Reply-To: <1092904045.3777.69.camel@imladris.demon.co.uk>

David Woodhouse wrote:
> I don't care much, but if you see a way to make sync() have the desired
> effect I wouldn't be averse to it.

I took a look, and don't see a good way to fix this short of modifying 
generic code that requires a commit to media (like remount read-only and 
sync).  The modifications might call the block device layer to sync 
things from its standpoint, such as issuing a BLKFLSBUF ioctl.  If 
mtdblock is unique in that it does not necessarily write a block to 
stable storage when the block layer issues a write then this is not 
likely to gain much interest.  It's possible that the IDE drivers might 
want to flush disk hardware buffers in such a situation as well, much 
like what occurs at suspend and shutdown, but I haven't looked into that 
yet.  Thanks,

-- 
Todd Poynor
MontaVista Software

  reply	other threads:[~2004-09-14  1:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-19  1:10 mtdblock cache flush at remount Todd Poynor
2004-08-19  8:27 ` David Woodhouse
2004-09-14  1:08   ` Todd Poynor [this message]
2004-09-14  6:52     ` David Woodhouse

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=4146449D.8030305@mvista.com \
    --to=tpoynor@mvista.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    /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