From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751878AbdHEJrL (ORCPT ); Sat, 5 Aug 2017 05:47:11 -0400 Received: from verein.lst.de ([213.95.11.211]:33697 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751250AbdHEJrK (ORCPT ); Sat, 5 Aug 2017 05:47:10 -0400 Date: Sat, 5 Aug 2017 11:47:08 +0200 From: Christoph Hellwig To: Dan Williams Cc: darrick.wong@oracle.com, Jan Kara , linux-nvdimm@lists.01.org, Dave Chinner , linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, Jeff Moyer , Alexander Viro , luto@kernel.org, linux-fsdevel@vger.kernel.org, Ross Zwisler , Christoph Hellwig Subject: Re: [PATCH v2 1/5] fs, xfs: introduce S_IOMAP_IMMUTABLE Message-ID: <20170805094708.GB14930@lst.de> References: <150181368442.32119.13336247800141074356.stgit@dwillia2-desk3.amr.corp.intel.com> <150181369070.32119.1019092252036976783.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <150181369070.32119.1019092252036976783.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org NAK^4. We should not allow users to create immutable files. We have proper ways to synchronize I/O, and this is just an invitation for horrible abuses that should not be allowed, and which we've always people told not to do.