[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110913124906.GA17855@infradead.org>
Date: Tue, 13 Sep 2011 08:49:06 -0400
From: Christoph Hellwig <hch@...radead.org>
To: "Sam Bradshaw (sbradshaw)" <sbradshaw@...ron.com>
Cc: jaxboe@...ionio.com, alan@...rguk.ukuu.org.uk, hch@...radead.org,
linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org,
Jeff Garzik <jgarzik@...ox.com>, jmoyer@...hat.com,
"Asai Thambi Samymuthu Pattrayasamy (asamymuthupa) [CONTRACTOR]"
<asamymuthupa@...ron.com>
Subject: Re: [PATCH v4] drivers/block/mtip32xx: Adding new driver mtip32xx
Btw, there is another _huge_ issue with the driver, and that is the
lack of any internal queueing. Remember the make_request interface is
an extremly thin layer (or rather the lack of it) below the filesystem.
So for example if eh_active is non-zero you return -EBUSY to the
filesystems. That's an error code it a) doesn't recognize and b)
couldn't handle even if it did. Similarly mtip_hw_get_scatterlist
simply blocks if no tag is currently available instead of queueing
it up.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists