From: Tejun Heo <htejun@gmail.com>
To: Jeff Garzik <jeff@garzik.org>
Cc: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: Re: Random libata comments...
Date: Tue, 23 May 2006 08:46:22 +0900 [thread overview]
Message-ID: <44724D4E.5010506@gmail.com> (raw)
In-Reply-To: <447248B9.6040304@garzik.org>
Jeff Garzik wrote:
>
> * I agree with others that using the "ata_drive_probe_reset" can lead to
> confusion on the uses of the word "drive". Replacing that with "do" or
> something else would be nice.
Will do.
> * As the ata_drive_probe_reset argument list continues to grow, I lean
> more and more towards moving all those function pointers to struct
> ata_port_operations. One of the problems with the drivers/ide layer IMO
> is that the list of all hooks used is not immediately clear upon first
> read, whereas with libata it is clear -- with the notable exception of
> ata_drive_probe_reset().
->error_handler() takes over all of ata_drive_probe_reset() after
hotplug patchset and all ->probe_reset() related stuff are killed. The
same applies to ->error_handler() though. I agree with you that the
arguments are ugly, but also there are already too many non-essential
operations in ata_port_operations. I was hoping something can be done
to resolve both issues.
I'm okay with moving reset ops into ata_port_operations but we need to
do more than that, IMHO.
--
tejun
next prev parent reply other threads:[~2006-05-22 23:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-22 23:26 Random libata comments Jeff Garzik
2006-05-22 23:46 ` Tejun Heo [this message]
2006-05-22 23:55 ` Jeff Garzik
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=44724D4E.5010506@gmail.com \
--to=htejun@gmail.com \
--cc=jeff@garzik.org \
--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.