Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934105AbbDVHef (ORCPT ); Wed, 22 Apr 2015 03:34:35 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:48468 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933223AbbDVHee (ORCPT ); Wed, 22 Apr 2015 03:34:34 -0400 Date: Wed, 22 Apr 2015 00:34:30 -0700 From: Christoph Hellwig To: "Drokin, Oleg" Cc: Christoph Hellwig , Boqun Feng , "" , "" , "" , Al Viro , "Dilger, Andreas" , Greg Kroah-Hartman , Jan Kara Subject: Re: [PATCH 1/2] vfs: export symbol 'getname' and 'putname' Message-ID: <20150422073430.GA5305@infradead.org> References: <1429674624-25922-1-git-send-email-boqun.feng@gmail.com> <1429674624-25922-2-git-send-email-boqun.feng@gmail.com> <20150422055311.GB3731@infradead.org> <498CF73A-6CB4-4C17-8953-B4AAA855A3DF@intel.com> <20150422063110.GA25768@infradead.org> <83D1849E-D084-4BD6-9A99-720F8F13535A@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83D1849E-D084-4BD6-9A99-720F8F13535A@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 514 Lines: 10 On Wed, Apr 22, 2015 at 06:49:08AM +0000, Drokin, Oleg wrote: > I know this is not going to be a popular opinion with you, but sometimes opening a file > is just too expensive. 1 RPC roudntrip to open a file and then another one to close it. Use O_PATH to avoid this. -- 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/