Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753194AbdFRPGz (ORCPT ); Sun, 18 Jun 2017 11:06:55 -0400 Received: from mail-pg0-f48.google.com ([74.125.83.48]:35575 "EHLO mail-pg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752992AbdFRPGw (ORCPT ); Sun, 18 Jun 2017 11:06:52 -0400 Subject: Re: [PATCH 0/2] Two fixes for loop devices To: NeilBrown Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org References: <149758925866.10006.12779875832895865043.stgit@noble> <87bmpl6hkq.fsf@notabene.neil.brown.name> From: Jens Axboe Message-ID: <56640935-e897-1586-5493-1cf1ffc98ba9@kernel.dk> Date: Sun, 18 Jun 2017 09:06:49 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <87bmpl6hkq.fsf@notabene.neil.brown.name> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 835 Lines: 24 On 06/17/2017 10:33 PM, NeilBrown wrote: > On Fri, Jun 16 2017, Jens Axboe wrote: > >> On 06/15/2017 11:02 PM, NeilBrown wrote: >>> Hi Jens, >>> one of these is a resend of a patch I sent a while back. >>> The other is new - loop closes files differently from close() >>> and in a way that can confuse NFS. >> >> Are you wanting to get these into 4.12, or defer to 4.13? > > I'm happy either way. I just want them to land eventually, so I can > tick them off my list. > > The conversation with Al might result in a different fix for the > flip_close() problem, but I think that it is still more correct to call > filp_close(), because what loop is doing is a lot like closing a file > that it has been writing to. I'll toss 2/2 in for now for 4.13, please resend the other once the issues have been ironed out. -- Jens Axboe