Re: [PATCH] libata-eh: Use switch() instead of sparse array for protocol strings

From: Tejun Heo
Date: Mon Jan 09 2017 - 12:30:40 EST


On Mon, Jan 09, 2017 at 09:22:07AM -0800, Christoph Hellwig wrote:
> Prototype here, only tested with a simple mkfs.xfs and some I/O on
> AHCI so far:
>
> http://git.infradead.org/users/hch/block.git/shortlog/refs/heads/libata-kill-ata_scsi_rbuf

Yeah, the only thing which needs completion from atomic context is
atapi commands. If that can be done on stack, it's all good.

Thanks.

--
tejun