From: Hannes Reinecke <hare@suse.de>
To: James Bottomley <jbottomley@parallels.com>,
"linux@rainbow-software.org" <linux@rainbow-software.org>
Cc: "hch@lst.de" <hch@lst.de>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"dgilbert@interlog.com" <dgilbert@interlog.com>,
"matthew@wil.cx" <matthew@wil.cx>
Subject: Re: [PATCH 00/12] nobody loves the advansys driver
Date: Wed, 03 Dec 2014 17:28:40 +0100 [thread overview]
Message-ID: <547F3A38.6070908@suse.de> (raw)
In-Reply-To: <1417621350.2206.3.camel@parallels.com>
On 12/03/2014 04:42 PM, James Bottomley wrote:
> On Wed, 2014-12-03 at 16:34 +0100, Ondrej Zary wrote:
>> On Wednesday 03 December 2014, Christoph Hellwig wrote:
>>> Thanks for looking into this old driver.
>>>
>>> If you've got a few spare cycles it might make sense to simply split
>>> the "wide board" support out - the driver literally is two different
>>> drivers with an if/else section in every method for the totally
>>> different narrow vs wide boards. Having at least a clean and simple
>>> driver for the newer wide boards would be good, and narrow ones are
>>> probably old enough that we can let the driver for those fade away..
>>
>> I have an ASB-3940UA (bought around 2000) and use it for scanner so I can test
>> patches.
>> The driver was working fine so I never had to look at the code. Now I see that
>> it's 12K lines long :( Converting that to something simple would require a
>> lot of work.
>
> That's the problem: The driver as-is works in all of the use cases, so
> no-one has any motivation to fix it. Plus the complexity is pretty
> daunting. It's not even the worst driver we have (that prize goes to
> atp870u which still has internal bus scanning code). I'm not saying
> don't do the conversion, but I am saying it will have to be validated
> and tested before it can go in because lots of people still seem to use
> this family of devices in odd corners of the world.
>
It was actually on my mind, too, to split the driver up.
The code for the narrow board has some issues even today (I've
inserted some remarks in the code) which always get in the way when
trying to update the other side.
But then I only got a wide board, so I couldn't do any testing
there; I was sort of banking on Matt Wilcox to have a board
available ...
Ondrej, if you got a narrow board I'd be willing to to the split and
let you test out the result.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 21284 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-12-03 16:28 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-03 11:44 [PATCH 00/12] nobody loves the advansys driver Hannes Reinecke
2014-12-03 11:44 ` [PATCH 01/12] advansys: use host_reset Hannes Reinecke
2014-12-04 9:17 ` Christoph Hellwig
2014-12-04 9:23 ` Hannes Reinecke
2014-12-03 11:44 ` [PATCH 02/12] advansys: use shared host tag map for command lookup Hannes Reinecke
2014-12-04 9:20 ` Christoph Hellwig
2014-12-04 9:25 ` Hannes Reinecke
2014-12-04 9:26 ` Christoph Hellwig
2014-12-03 11:44 ` [PATCH 03/12] advansys: use DMA-API for mapping sense buffer Hannes Reinecke
2014-12-03 11:44 ` [PATCH 04/12] advansys: Use DMA-API for carrier buffer Hannes Reinecke
2014-12-03 11:44 ` [PATCH 05/12] advansys: Use DMA-API for mapping request blocks Hannes Reinecke
2014-12-03 11:44 ` [PATCH 06/12] advansys: Use dma_pool for sg elements Hannes Reinecke
2014-12-03 11:45 ` [PATCH 07/12] advansys: use 'bool' instead of 'int' Hannes Reinecke
2014-12-03 11:45 ` [PATCH 08/12] advansys: use standard data types Hannes Reinecke
2014-12-03 11:45 ` [PATCH 09/12] advansys: Remove 'TRUE' and 'FALSE' definitions Hannes Reinecke
2014-12-03 11:45 ` [PATCH 10/12] advansys: Remove 'ERR' definition Hannes Reinecke
2014-12-03 11:45 ` [PATCH 11/12] advansys: cleanup function return codes Hannes Reinecke
2014-12-03 11:45 ` [PATCH 12/12] advansys: Update to version 3.5 and remove compilation warning Hannes Reinecke
2014-12-04 9:23 ` Christoph Hellwig
2014-12-04 9:26 ` Hannes Reinecke
2014-12-03 15:21 ` [PATCH 00/12] nobody loves the advansys driver Christoph Hellwig
2014-12-03 15:34 ` Ondrej Zary
2014-12-03 15:42 ` James Bottomley
2014-12-03 16:28 ` Hannes Reinecke [this message]
2014-12-04 9:13 ` hch
2014-12-04 9:12 ` Christoph Hellwig
2014-12-03 16:06 ` Douglas Gilbert
2014-12-03 18:29 ` Ondrej Zary
2014-12-04 7:12 ` Hannes Reinecke
2014-12-07 14:44 ` Ondrej Zary
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=547F3A38.6070908@suse.de \
--to=hare@suse.de \
--cc=dgilbert@interlog.com \
--cc=hch@lst.de \
--cc=jbottomley@parallels.com \
--cc=linux-scsi@vger.kernel.org \
--cc=linux@rainbow-software.org \
--cc=matthew@wil.cx \
/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;
as well as URLs for NNTP newsgroup(s).