From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E3797211944A2 for ; Thu, 29 Nov 2018 00:04:35 -0800 (PST) Date: Thu, 29 Nov 2018 09:04:30 +0100 From: Greg KH Subject: Re: [4.19-stable PATCH] dax: Avoid losing wakeup in dax_lock_mapping_entry Message-ID: <20181129080430.GB13859@kroah.com> References: <20181126142743.GA25618@bombadil.infradead.org> <154343119877.981933.9776503138356369421.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <154343119877.981933.9776503138356369421.stgit@dwillia2-desk3.amr.corp.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Dan Williams Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Matthew Wilcox , stable@vger.kernel.org, linux-nvdimm@lists.01.org List-ID: On Wed, Nov 28, 2018 at 10:53:44AM -0800, Dan Williams wrote: > From: Matthew Wilcox > > commit 25bbe21bf427a81b8e3ccd480ea0e1d940256156 upstream. > > After calling get_unlocked_entry(), you have to call > put_unlocked_entry() to avoid subsequent waiters losing wakeups. > > Fixes: c2a7d2a11552 ("filesystem-dax: Introduce dax_lock_mapping_entry()") > Cc: > Signed-off-by: Matthew Wilcox > Signed-off-by: Dan Williams > --- > Passes the nvdimm unit test suite which exercises the lock path. Now applied, thanks. greg k-h _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm