Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2306452yba; Thu, 25 Apr 2019 14:11:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqyt2ItlAtiEVrSZU4hBMOfgbjZeDbjRh9nNtwp7npv0MJGa3EghE8xHILw9GXjkrQVo3jdI X-Received: by 2002:a63:e110:: with SMTP id z16mr22222662pgh.165.1556226716601; Thu, 25 Apr 2019 14:11:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556226716; cv=none; d=google.com; s=arc-20160816; b=z6yn1JOiGWeZENyvejtQryn2I91B5Jznf/l3rEjiQu7f+M2tEAflaUKa6mRM0CDSwB iVJXIjeOcK3+irYqM7K1QAbynHSMxXvNzyeOS/stvaQ7y1svRVXGZw0glNEEhOl5+3ql kk8+2Y0VASpk1MB9+KVL6BLrk1geBOXKCSQrwPyzYyzHdgfJLOtbn8i05nEIthYnPaxM xtOLuNgWLK0y7HNopOSuj2RhwVYA2lLcgO2N+ripckC0vP2M2xikxJKbaCKTqPst83UY rQ7eVXeC/9a7+pvNT7ajYa91u9lVqp+6SGYgt0x+xKbIRKlImdderLBpfrs6vqcIPTar 1uew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=V4AjFHnvhesNFUsYrYYZCkuplx909V4wc3rYaM7NQ0M=; b=d1RrhlorhHwOYcYWTupsxvxKq6TFKU7D6O7n161JF0HBPq33jcI26eqtcbpIEBgAYW 6EUI2ZT25B0gv0343+3ZEEqfJQzvi4xwTQ+RTWufvOhT44bBPKhnlIXwQyGR97tGAuCf x8hJ+5gwywhJtjHyU6THUpb05XgkupC/SUcjizBxhgppLAVClU07EHNE2ZvwtvgJoUFA rHU5/7KMTxhBVYW0ZmJ3jJuNAY7MXVdtFsJ3V97hu3rkQ/cBomw4qj76YSeJql/dNcC1 c3Mt4l5tNJj2j9d3PbTnq2wTOrzUM4ZnEUuNIfqPW7sj2Z6efDmSSfP/k/FywHwBjFuy xu9Q== 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 r140si22496110pgr.585.2019.04.25.14.11.41; Thu, 25 Apr 2019 14:11:56 -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 S1730419AbfDYSVE (ORCPT + 99 others); Thu, 25 Apr 2019 14:21:04 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:49800 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727120AbfDYSVE (ORCPT ); Thu, 25 Apr 2019 14:21:04 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92 #3 (Red Hat Linux)) id 1hJizU-0004tp-MH; Thu, 25 Apr 2019 18:21:00 +0000 Date: Thu, 25 Apr 2019 19:21:00 +0100 From: Al Viro To: Linus Torvalds Cc: Ilya Dryomov , Jeff Layton , ceph-devel@vger.kernel.org, Linux List Kernel Mailing Subject: Re: [GIT PULL] Ceph fixes for 5.1-rc7 Message-ID: <20190425182100.GU2217@ZenIV.linux.org.uk> References: <20190425174739.27604-1-idryomov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 25, 2019 at 11:02:54AM -0700, Linus Torvalds wrote: > I've pulled this, but maybe Jeff wants to look at whether that > snapshotting model could have helped. I really wonder if 76a495d666e5 (ceph: ensure d_name stability in ceph_dentry_hash()) makes any sense; OK, you have ->d_lock held over that, but what does it protect against? Sure, you'll get something that was valid while you held ->d_lock, but what good does it do to the callers? If they really have to care about races with d_move(), which value do they want?