From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:48045 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390539AbfFKFJ0 (ORCPT ); Tue, 11 Jun 2019 01:09:26 -0400 Date: Tue, 11 Jun 2019 07:08:56 +0200 From: Christoph Hellwig Subject: Re: [PATCH] vfs: allow copy_file_range from a swapfile Message-ID: <20190611050856.GA19013@lst.de> References: <20190610172606.4119-1-amir73il@gmail.com> <20190611011612.GQ1871505@magnolia> <20190611025108.GB2774@mit.edu> <20190611032926.GA1872778@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190611032926.GA1872778@magnolia> Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: "Darrick J. Wong" Cc: Theodore Ts'o , Amir Goldstein , Dave Chinner , Christoph Hellwig , linux-xfs@vger.kernel.org, Olga Kornievskaia , Luis Henriques , Al Viro , linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, ceph-devel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org On Mon, Jun 10, 2019 at 08:29:26PM -0700, Darrick J. Wong wrote: > ...and administrators often mkfs over mounted filesystems because we let > them read and write block devices. Granted I tried to fix that once and > LVM totally stopped working... That must have been a long time ago. We now overload O_EXCL on blockdevice to only allow a single exclusive openers, and mounted filesystems as well as raid drivers have been setting set for at leat 10 years.