From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752780AbdJKJrt convert rfc822-to-8bit (ORCPT ); Wed, 11 Oct 2017 05:47:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56256 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750912AbdJKJrq (ORCPT ); Wed, 11 Oct 2017 05:47:46 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 41DDD81DE6 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dhowells@redhat.com Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20171008010758.GA23643@fieldses.org> References: <20171008010758.GA23643@fieldses.org> <1507370104-21751-1-git-send-email-baijiaju1990@163.com> <1507372617.26934.0.camel@redhat.com> To: "J. Bruce Fields" , Jia-Ju Bai , Jeff Layton Cc: dhowells@redhat.com, viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fs/afs/flock and fs/locks: Fix possible sleep-in-atomic bugs in posix_lock_file MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17919.1507715263.1@warthog.procyon.org.uk> Content-Transfer-Encoding: 8BIT Date: Wed, 11 Oct 2017 10:47:43 +0100 Message-ID: <17920.1507715263@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 11 Oct 2017 09:47:46 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org J. Bruce Fields wrote: > Does that mean nobody's tested fcntl locking over afs since that change in > 2010? Quite feasibly not. I've been beating kAFS into shape and I'm aware of the lock thing. It's on the list after getting the core server rotation working properly since that will affect a whole bunch of code, including the locking code. I've more or less finished the server rotation bit. See: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=afs-2-experimental David