Received: by 10.223.185.116 with SMTP id b49csp2719559wrg; Mon, 12 Feb 2018 14:51:19 -0800 (PST) X-Google-Smtp-Source: AH8x2261RYvlx/m8Tsr0NcnisLNmh6q5KQR27p6DAeuHef9PibavKFE2GFaBhnunuQSZ4pYyie+7 X-Received: by 2002:a17:902:aa0c:: with SMTP id be12-v6mr4860581plb.84.1518475879687; Mon, 12 Feb 2018 14:51:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518475879; cv=none; d=google.com; s=arc-20160816; b=mhuo4vHgSKpWFQtLqMkceJNPc6vpXrbje9fA7PmgoZEe3nycQS9OOteYAWh0L/WzTJ hTp6pcaRJVQUXec/TfyLqNgfGQulSrfXQHJbKHtsmnLcGS1MeWAxiUHXPjCxDAuW9d/l 4xmrZqCeFFSi6MSUXEmjMr5IJBjeutpOymvGk/fBwmGf+itTIgKfqAMiZIUO2DzJ9Wfz +ON0fgOigMKbnFoKMR5NHUwYHSUPIk8h33AFpEENd+kMXf4jQPDlg3NMmiH5jDv0efFF TbbvS6bHr6hl65ekO7iKHlqHG7Z2RmB0EbzlR5n9SLMiLkB7q4mVj5wyorI2U0J672nT 7oYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=g6SqD/EtMjR6izkAInJOqSwvnZm0iUJeaim17o67IsM=; b=e/tvrwOykrSG2F9PF63oeNmdHoLy1ArdKBqvV3aZWanmHqjb44qoRaKMKh4RFjP+XX A/21OJqRDCAFK4yO0FlyzxUdWJ8bxxj0JWR6gvhXT5VZM0mP7tLtoRmo+k/yJWQfuL5A IXQLDt/iyrwZKNSxjofTTlDJ15hiNvkux4BpXyLR6JyrWw0Yx9EPCDh7xinc3/Js+S0M XOJqnaZvRPXigbMlXfv09lcPuNzhuuPwI+EAJKfK3FhvKgcoRUh56Cg12VAE851Gmn5d SXrJ3E3qjTwBuDuw1yg8ipyJTSbenfFPxnGbOq2VqpnUECEj3yK1qW2e2VeZsK8pYLkZ JLgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=HfuqacRr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d21-v6si323425pll.268.2018.02.12.14.51.04; Mon, 12 Feb 2018 14:51:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=HfuqacRr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933266AbeBLWuC (ORCPT + 99 others); Mon, 12 Feb 2018 17:50:02 -0500 Received: from mail-oi0-f67.google.com ([209.85.218.67]:36894 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932329AbeBLWuA (ORCPT ); Mon, 12 Feb 2018 17:50:00 -0500 Received: by mail-oi0-f67.google.com with SMTP id t78so12455218oih.4 for ; Mon, 12 Feb 2018 14:49:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=g6SqD/EtMjR6izkAInJOqSwvnZm0iUJeaim17o67IsM=; b=HfuqacRrshknuEJ4gF7QaTApbK/Kf5ep9M9qemht+dDdSBiNAwh92NrPFku5Bwx0zK AcJ4nqsq0l4Qz9hjZtK0pdjvtN1SgVCZ+ni5bqpyAhrewrj/CIlmpFRPBqF9HPQ1opS/ 1/nUhkSvPH+tvLoRKtSGgZSApci3qy9XOCfjQ2FjA/xlp7q67BcNXgHodh7u7wpZlF/A QX/NYeNNdNf56DgPzRDll6aVmLKl2TM0SpOmaRbbIssGuMcKwyKly6vFDDjOPsXxsz8d s+RmbLal0YSsrPzqDBb49A2KS6Us3DARD8YzI2FsXlnkC09cRCozs8j2FWxO0+4ygNFU 0PiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=g6SqD/EtMjR6izkAInJOqSwvnZm0iUJeaim17o67IsM=; b=kScJWNbTu8turuyNc3flLFmQqfq7u9JbRnq/8w3HrF6wWo5fFskCBYf9nPKXa2OedY J4bsUBiKtB54hglEvkNWlGfuaSIwgsSC78DUZNlkpk7DpibUz21wwvdTEJVVpFn1xeKi BxffNruoXB9YIaWlg9E9YEV3jIuN0Dc7LoOYtsYRO8T1bcDWLH3dr9CFmWAayFPceTu5 vvs6B7c3Z6TVGBfQWg8FI6O0zc45h2NAtHOzuffXr5ma1x0Xcm45Ft7+mKcWrcCT86sZ 5gscsslTRYlYeRAumNKWnBLiHLhZYnoY/Yp71u/Ts6gH0hX5WRi3copyI0PPpcbaTo5B IJyg== X-Gm-Message-State: APf1xPBFmdIxDgPJ0T5izOfea6G8/UmJgg5LKFxb/0YVtuP66Gyzm751 oUhBuLwGMWNs2Y7y5ejcyuis3xnoTk7/QPD2Gycc7A== X-Received: by 10.202.97.2 with SMTP id v2mr8634141oib.17.1518475799582; Mon, 12 Feb 2018 14:49:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.17.211 with HTTP; Mon, 12 Feb 2018 14:49:59 -0800 (PST) In-Reply-To: <151847194459.58291.11339638808076622981.stgit@djiang5-desk3.ch.intel.com> References: <151847194459.58291.11339638808076622981.stgit@djiang5-desk3.ch.intel.com> From: Dan Williams Date: Mon, 12 Feb 2018 14:49:59 -0800 Message-ID: Subject: Re: [PATCH v2] libnvdimm: re-enable deep flush for pmem devices To: Dave Jiang Cc: "Zwisler, Ross" , Linux Kernel Mailing List , linux-nvdimm@lists.01.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 12, 2018 at 1:46 PM, Dave Jiang wrote: > Re-enable deep flush so that users always have a way to be sure that a write > does make it all the way out to the NVDIMM. The PMEM driver writes always > make it "all the way to the NVDIMM", and it relies on the ADR mechanism to > flush the write buffers on power failure. Deep flush is there to explicitly > flush those write buffers to protect against (rare) ADR failure. > This change prevents a regression in deep flush behavior so that applications > can continue to depend on fsync() as a mechanism to trigger deep flush in the > filesystem-dax case. > > Fixes: 06e8ccdab15f4 ("acpi: nfit: Add support for detect platform CPU cache flush on power loss") > > Signed-off-by: Dave Jiang Thanks Dave, applied.