From: Tejun Heo <tj@kernel.org>
To: Vincent Pelletier <plr.vincent@gmail.com>
Cc: linux-ide@vger.kernel.org,
"Csaba Halász" <csaba.halasz@gmail.com>,
"Sergei Shtylyov" <sergei.shtylyov@cogentembedded.com>
Subject: Re: [PATCH] make ata_exec_internal_sg honor DMADIR
Date: Tue, 21 May 2013 07:02:38 +0900 [thread overview]
Message-ID: <20130520220238.GA30556@mtj.dyndns.org> (raw)
In-Reply-To: <201305202243.15125.plr.vincent@gmail.com>
Hello,
On Mon, May 20, 2013 at 10:43:14PM +0200, Vincent Pelletier wrote:
> Something like this ? (2/2 - untested)
> Is "horkage" just another way to say "quirks" in this context ? Google
> translate doesn't help, and urbandictionary has too many entries for "hork" to
> make me confident.
I think so. It was originally named by Alan Cox who sometimes plays
with old English dialects, Yiddish, whatnot.
> Alternatively, I would add a "dflags" field to struct ata_force_param, and
> reuse ATA_DFLAG_DMADIR instead of defining a new enum item.
>
> As this completely supersedes the atapi_dmadir module argument, is there a way
> to deprecate it (if at all a good practice) ?
I'd just leave it alone. It's not like it adds a lot of complexity.
> @@ -6498,6 +6498,8 @@ static int __init ata_parse_force_one(char **cur,
> { "nosrst", .lflags = ATA_LFLAG_NO_SRST },
> { "norst", .lflags = ATA_LFLAG_NO_HRST | ATA_LFLAG_NO_SRST },
> { "rstonce", .lflags = ATA_LFLAG_RST_ONCE },
> + { "atapi_dmadir", .horkage_on = ATA_HORKAGE_ATAPI_DMADIR },
> + { "noatapi_dmadir", .horkage_off = ATA_HORKAGE_ATAPI_DMADIR },
I don't think we need noatapi_dmadir as the default is off anyway.
Thanks.
--
tejun
next prev parent reply other threads:[~2013-05-20 22:02 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-18 18:17 [PATCH] make ata_exec_internal_sg honor DMADIR Csaba Halász
2013-05-12 10:13 ` Vincent Pelletier
2013-05-14 19:06 ` Tejun Heo
2013-05-17 17:20 ` Vincent Pelletier
2013-05-17 18:47 ` Tejun Heo
2013-05-19 13:31 ` Vincent Pelletier
2013-05-19 23:38 ` Tejun Heo
2013-05-20 6:20 ` Vincent Pelletier
2013-05-20 7:30 ` Tejun Heo
2013-05-20 10:51 ` Vincent Pelletier
2013-05-20 18:59 ` Tejun Heo
2013-05-20 20:43 ` Vincent Pelletier
2013-05-20 22:02 ` Tejun Heo [this message]
2013-05-21 20:37 ` Vincent Pelletier
2013-05-21 23:32 ` [PATCH 1/2] libata: " Tejun Heo
2013-05-21 23:35 ` [PATCH 2/2] libata: Add atapi_dmadir force flag Tejun Heo
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=20130520220238.GA30556@mtj.dyndns.org \
--to=tj@kernel.org \
--cc=csaba.halasz@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=plr.vincent@gmail.com \
--cc=sergei.shtylyov@cogentembedded.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