From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Doug Maxey <dwm@maxeymade.com>
Cc: Doug Maxey <dwm@austin.ibm.com>, Jens Axboe <axboe@suse.de>,
Jeff Garzik <jgarzik@pobox.com>,
Linux IDE Mailing List <linux-ide@vger.kernel.org>
Subject: Re: [RFC/PATCH 0/7] enable honoring write cache setting of IDE drive
Date: Fri, 28 Jan 2005 22:35:17 +0100 [thread overview]
Message-ID: <58cb370e05012813357d42da46@mail.gmail.com> (raw)
In-Reply-To: <200501282106.j0SL6M0Z026655@falcon30.maxeymade.com>
On Fri, 28 Jan 2005 15:06:22 -0600, Doug Maxey <dwm@maxeymade.com> wrote:
>
> On Fri, 28 Jan 2005 20:11:37 +0100, Bartlomiej Zolnierkiewicz wrote:
> >On Fri, 28 Jan 2005 12:16:01 -0600, Doug Maxey <dwm@austin.ibm.com> wrote:
> >
> >We have too many config options already.
> >
> >Behavior should be simple:
> >* no cache flushes - wcache off by default
> >* cache flushes - wcache on by default
> >* inform user about the wcache status
> >* allow changing of wcache by user
>
> My interpretation of what you are saying here is the selection of
> "cache flush" drives the setting of wcache. Are you saying that
> "barrier=off" on the boot line the currently (only and will remain)
> supported method controlling flushes?
No, I am saying that cache flush is a property of disk not fs.
On the contrary barrier is a property of filesystem.
> AFAICS, "barrier=off" just tells the FS (only ext2 and reiser) to not
> flush writes. I may be misunderstanding how that controls the
> behavior of the drive at the ll_blk layer. Is that what you want to
> see a patch to, pick this out of the FS?
No, why?
> >>
> >> 1) move the cache_write code to ide-io, where it will be callable from
> >> kernels built without ide-disk.
> >
> >I've already pointed this out - this is not needed, you should add
> >check similar to this for 'xfer_set'. Another reason not to do this
> >is that write_cache() uses REQ_DRIVE_TASKFILE internally.
>
> Is taskfile going away?
Quite the opposite but if you want to use taskfile, map whole
ide_cmd_ioctl() to it not CACHE_FLUSH_{EXT} command only
and don't intermix bugfixes with potentially risky changes.
next prev parent reply other threads:[~2005-01-28 21:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-28 18:16 [RFC/PATCH 0/7] enable honoring write cache setting of IDE drive Doug Maxey
2005-01-28 19:11 ` Bartlomiej Zolnierkiewicz
2005-01-28 21:06 ` Doug Maxey
2005-01-28 21:35 ` Bartlomiej Zolnierkiewicz [this message]
2005-01-28 21:43 ` Doug Maxey
2005-01-28 21:49 ` Bartlomiej Zolnierkiewicz
2005-01-28 22:15 ` Doug Maxey
2005-01-28 22:32 ` Bartlomiej Zolnierkiewicz
2005-01-31 8:35 ` Jens Axboe
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=58cb370e05012813357d42da46@mail.gmail.com \
--to=bzolnier@gmail.com \
--cc=axboe@suse.de \
--cc=dwm@austin.ibm.com \
--cc=dwm@maxeymade.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.