From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761211AbdAIRai (ORCPT ); Mon, 9 Jan 2017 12:30:38 -0500 Received: from mail-qk0-f194.google.com ([209.85.220.194]:34548 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751317AbdAIRae (ORCPT ); Mon, 9 Jan 2017 12:30:34 -0500 Date: Mon, 9 Jan 2017 12:30:26 -0500 From: Tejun Heo To: Christoph Hellwig Cc: Geert Uytterhoeven , "linux-ide@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] libata-eh: Use switch() instead of sparse array for protocol strings Message-ID: <20170109173026.GD12827@mtj.duckdns.org> References: <1483973368-6828-1-git-send-email-geert@linux-m68k.org> <20170109152319.GA12827@mtj.duckdns.org> <20170109160424.GB12827@mtj.duckdns.org> <20170109162143.GA11959@infradead.org> <20170109172207.GA10557@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170109172207.GA10557@infradead.org> User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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