Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3404490ybd; Fri, 28 Jun 2019 08:04:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKTIWTl6te9UlKqRTjfq8/vI/xnMCagT5xm5T8mNX+jzySyz6MCIa2G6INgS6o0dZr/aBo X-Received: by 2002:a17:902:2a27:: with SMTP id i36mr11985503plb.161.1561734275338; Fri, 28 Jun 2019 08:04:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561734275; cv=none; d=google.com; s=arc-20160816; b=LRTlcCU4ZSW7Qf5iIp74F+vSJxIohxMEgp/P5ymkzxhkTumhDpm7HU3ya84SxltP8I c5gr5TA7qqUPhurSBhwwlsH4SJkphm863arh+LqneG76SaT0g716dVpBbvtg/Q1KDSL3 XoZROImZgNQggO+iahlag97DkT2WCIsNvQn0yoCp16beA+gFzSgEjjgPbZfyYcxLpbIz 8x/Dah7xHDgZcUpwpZP1Gop10feQ/xh794F4gCVUK+Ae7Y1DhVj0X/nSRkVLRGpwf7cv oJknNrJj0kNUUjri9inI3dDdHTbbI9sK9zxHzZ+hjjXhjHzLupwWcAfFB1NZayfvfPBP PR6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=w69zF54bBWlz/Vow7ca5wD+KkGLVwPx2M9gFnE6OSzc=; b=J3h9f6Jh1+JEne/CLPeZgi2Ky3lezJ+ZGUgdue+BKgAHPa6OforjP6aDpO5iPuOQaO uqrwn665gxwNimByK7xCIUzUHLTytBjTG/0td+S+ybKQ6rXsKOBwPXK4FczFVbaNA7iY LRCq8H8ZtchzjIsCZDFH4Po/98S2xnkHF3fRtP+98DSvZqIFeJWRRfHG022Rl3r3XY3S YIKd/iio7BbXmpUg855/ToctVIEvR9xGLQzBw8bJYTBLPZhbibGZW6rskGVDimYeWIex WUEs+vb9oLtS1rIrqPPtc33RRj9WT5+MxD76b0LEIhGyTaCLvUv/7Ky1I5GiQRPuG9ZG ZlCw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i17si2512993pju.96.2019.06.28.08.04.10; Fri, 28 Jun 2019 08:04:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726838AbfF1PDw (ORCPT + 99 others); Fri, 28 Jun 2019 11:03:52 -0400 Received: from mail.parknet.co.jp ([210.171.160.6]:53002 "EHLO mail.parknet.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726616AbfF1PDw (ORCPT ); Fri, 28 Jun 2019 11:03:52 -0400 Received: from ibmpc.myhome.or.jp (server.parknet.ne.jp [210.171.168.39]) by mail.parknet.co.jp (Postfix) with ESMTPSA id 0412D7C8; Sat, 29 Jun 2019 00:03:51 +0900 (JST) Received: from devron.myhome.or.jp (foobar@devron.myhome.or.jp [192.168.0.3]) by ibmpc.myhome.or.jp (8.15.2/8.15.2/Debian-12) with ESMTPS id x5SF3nPq031179 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sat, 29 Jun 2019 00:03:50 +0900 Received: from devron.myhome.or.jp (foobar@localhost [127.0.0.1]) by devron.myhome.or.jp (8.15.2/8.15.2/Debian-12) with ESMTPS id x5SF3n8r014176 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sat, 29 Jun 2019 00:03:49 +0900 Received: (from hirofumi@localhost) by devron.myhome.or.jp (8.15.2/8.15.2/Submit) id x5SF3kNS014175; Sat, 29 Jun 2019 00:03:46 +0900 From: OGAWA Hirofumi To: Christoph Hellwig Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH] fat: Add nobarrier to workaround the strange behavior of device References: <871rzdrdxw.fsf@mail.parknet.co.jp> <20190628143216.GA538@infradead.org> Date: Sat, 29 Jun 2019 00:03:46 +0900 In-Reply-To: <20190628143216.GA538@infradead.org> (Christoph Hellwig's message of "Fri, 28 Jun 2019 07:32:16 -0700") Message-ID: <87pnmxpx9p.fsf@mail.parknet.co.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christoph Hellwig writes: > On Fri, Jun 28, 2019 at 11:18:19PM +0900, OGAWA Hirofumi wrote: >> To workaround those devices and provide flexibility, this adds >> "barrier"/"nobarrier" mount options to fat driver. > > We have deprecated these rather misnamed options, and now instead allow > tweaking the 'cache_type' attribute on the SCSI device. I see, sounds like good though. Does it work for all stable versions? Can it disable only flush command without other effect? And it would be better to be normal user controllable easily. This happened on normal user's calibre app that mount via udisks. With this option, user can workaround with /etc/fstab for immediate users. > That being said if the device behave this buggy you should also report > it to to the usb-storage and scsi maintainers so that we can add a > quirk for it. It might not be able to say as buggy simply. The device looks work if no idle and not hit pattern of usage, so quirk can be overkill. Anyway, I don't have the device, if you can get the device and investigate, it can be fine. Thanks. -- OGAWA Hirofumi