Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp780640pxy; Wed, 28 Apr 2021 14:08:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJ0OU/quUSMb/1vrVazliOvSiwQmfSovJolrdco34rlcHEyye73Z3xvTFQWg8elMkR8n7L X-Received: by 2002:a05:6402:6d4:: with SMTP id n20mr14046276edy.134.1619644113650; Wed, 28 Apr 2021 14:08:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619644113; cv=none; d=google.com; s=arc-20160816; b=D4EFyMAgVYwQsY1kuHAsU8FrNTyt942GKU82/hllE+NYcgFfVWl0Jzxha/Gh9sTEJ2 LXnuzq6Jh9c0RXXU4KvYKXnqtjYoTkjYoCngOv90P6EwLp8xPyxO8tjcHA300mFMazYg 1uKqaAFQl1VsCMPnQ/vlDCcO36RoqAUvqO3Fh/IteG1wySMcROMn5ESMrDRGeXLHKt51 YH23pgY6gNnaGvxN+90Nb4BTZkYY/cDpbYBeRPup9XHvECi0R9cNjA/Lgm71hC5561V5 wYuLVkWXfqjQvC5XcP12KynJZD8NIvm1hjfZAVPLam5VJ9/xCEAdBGs+SnY2lpb/0L/E 5RPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=MLrGc/XGIkKevghVxu7iMDBjiIgG5ql+h/MHMCYHiOM=; b=NQmcIxDF5iuIaVd6MfUp4xprGlt242x5PzDURH7g1v40EQyYoEpxt59pQgM/QLpDnF P4d7G0PNrQ4uZcz3x0r+tTO99gYjhAw2SLMnVXnBaCg7b1lpA391PKiRCSL2twgnYkLp 4hzY6+tZt75jP0BHU/+ntsf2I1VCXnFXIcfYx/KEk8+FJYvImSHF7iB23EYeO5gZYLQ6 uZcPmiY7C0TW3ziluoGEFXJywHAJoj8UFFqHBAzdBs8sNy9rf6yMfbJPlw7Li2R3WiGp ksTcOFXKzgYt21EAEAzxAg8oXID0Dk5NZ1I0u46i5jdRgi4FikvaIPsCnBTJ9BPp6h87 TQwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="dzIH/BRl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z13si883473edc.6.2021.04.28.14.08.10; Wed, 28 Apr 2021 14:08:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="dzIH/BRl"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243744AbhD1TEV (ORCPT + 99 others); Wed, 28 Apr 2021 15:04:21 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:30348 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230323AbhD1TER (ORCPT ); Wed, 28 Apr 2021 15:04:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619636611; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=MLrGc/XGIkKevghVxu7iMDBjiIgG5ql+h/MHMCYHiOM=; b=dzIH/BRl/EUR2citQ4FHxERWN/YIpYwZwcLuZICd1C2bjACdjpF27mLwL+mpcC0L1rCx/+ FtnEDBFPWOr/xoA30Oxs8XohcRlMv7nhLQGag37pcNFygY7Cvys0XjgpdtWaV7R5nKuSqi DJ6B9Gjzi3+PSuxAmhwLK7b9WAKbhy8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-528-rjo6gzNJMYSjlXBdKxL2Rg-1; Wed, 28 Apr 2021 15:03:29 -0400 X-MC-Unique: rjo6gzNJMYSjlXBdKxL2Rg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 924BD106BB3B; Wed, 28 Apr 2021 19:03:28 +0000 (UTC) Received: from horse.redhat.com (ovpn-116-128.rdu2.redhat.com [10.10.116.128]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9DCEC10027A5; Wed, 28 Apr 2021 19:03:24 +0000 (UTC) Received: by horse.redhat.com (Postfix, from userid 10451) id 2A155220BCF; Wed, 28 Apr 2021 15:03:24 -0400 (EDT) From: Vivek Goyal To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org, virtio-fs@redhat.com, dan.j.williams@intel.com Cc: vgoyal@redhat.com, willy@infradead.org, jack@suse.cz, groug@kaod.org Subject: [PATCH v6 0/3] dax: Fix missed wakeup in put_unlocked_entry() Date: Wed, 28 Apr 2021 15:03:11 -0400 Message-Id: <20210428190314.1865312-1-vgoyal@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is V6. Only change since V5 is that I changed order of WAKE_NEXT and WAKE_ALL in comments too. Vivek Vivek Goyal (3): dax: Add an enum for specifying dax wakup mode dax: Add a wakeup mode parameter to put_unlocked_entry() dax: Wake up all waiters after invalidating dax entry fs/dax.c | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) -- 2.25.4