Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754039Ab0GNRLg (ORCPT ); Wed, 14 Jul 2010 13:11:36 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:60445 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751565Ab0GNRLf convert rfc822-to-8bit (ORCPT ); Wed, 14 Jul 2010 13:11:35 -0400 Date: Wed, 14 Jul 2010 19:12:49 +0200 From: =?utf-8?B?TWljaGHFgiBOYXphcmV3aWN6?= Subject: Re: [PATCHv2] usb: gadget: storage: optional SCSI WRITE FUA bit In-reply-to: To: Andy Shevchenko Cc: linux-kernel@vger.kernel.org, Andy Shevchenko , Denis Karpov , Adrian Hunter , Alan Stern , David Brownell , Greg Kroah-Hartman , linux-usb@vger.kernel.org Message-id: Organization: Samsung Electronics MIME-version: 1.0 Content-type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-transfer-encoding: 8BIT User-Agent: Opera Mail/10.60 (Linux) References: <1279098331-7872-1-git-send-email-ext-andriy.shevchenko@nokia.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1372 Lines: 32 > 2010/7/14 Michał Nazarewicz : >> Ah, OK, I see why this is per LUN. You want to be able not to ignore >> FUA if the backing storage is a removable media, right? On Wed, 14 Jul 2010 17:05:07 +0200, Andy Shevchenko wrote: > In instance, or vise versa. I actually see the most sense in disabling FUA on devices with their own power supply for logical units which backing file is not (on) a removable device unless the removable device has some kind of lock (like CD-ROM's door). Either way, I now see the point of having this option per-LUN. >>> Actually fua = 1 means ignorance of that flag. >> ignore_fua would be better name then I think. This also stands for >> module parameter. Or even “nofua”. The other solution would be to change the meaning to the opposite (1 meaning that FUA is not ignored). -- Best regards, _ _ | Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o | Computer Science, Michał "mina86" Nazarewicz (o o) +----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/