From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 1/2] vfs: export symbol 'getname' and 'putname' Date: Wed, 22 Apr 2015 00:34:30 -0700 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 Cc: Christoph Hellwig , Boqun Feng , "" , "" , "" , Al Viro , "Dilger, Andreas" , Greg Kroah-Hartman , Jan Kara To: "Drokin, Oleg" Return-path: Content-Disposition: inline In-Reply-To: <83D1849E-D084-4BD6-9A99-720F8F13535A@intel.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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.