From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754089Ab2AWUJf (ORCPT ); Mon, 23 Jan 2012 15:09:35 -0500 Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252]:44794 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751770Ab2AWUJe (ORCPT ); Mon, 23 Jan 2012 15:09:34 -0500 Date: Mon, 23 Jan 2012 15:09:23 -0500 From: Christoph Hellwig To: Asai Thambi SP Cc: Jens Axboe , Christoph Hellwig , Linus Torvalds , "Sam Bradshaw (sbradshaw)" , Asai Thambi S P , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] mtip32xx: rename the confusing argument 'barrier', of mtip_hw_submit_io() Message-ID: <20120123200923.GA9801@infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 18, 2012 at 05:29:40PM -0800, Asai Thambi SP wrote: > This device does not support write cache, hence renamed confusing argument > 'barrier' to 'fua'. Setting of FUA bit is done in all IOs for compatibility. That's not correct, you set it if REQ_FUA is set, which won't ever be set given how you configure the queue. I.e. it's dead code that can be removed.