Message ID | 20230615181325.1327259-1-jane.chu@oracle.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp836590vqr; Thu, 15 Jun 2023 11:31:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4J1suXO6xujx2zHUDJ5dEynUE4rTuk71yBX4fOVnzZTvt97rk8Cbi5KBdGtBfn05fUP1yp X-Received: by 2002:a05:6a20:549c:b0:117:5a5e:8374 with SMTP id i28-20020a056a20549c00b001175a5e8374mr420960pzk.0.1686853868814; Thu, 15 Jun 2023 11:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686853868; cv=none; d=google.com; s=arc-20160816; b=Y5klrVeO779Udbp6PkwWDIaD1B4UKOC+PTqwjLXafH40KEwJhHuU/wMv53KirbSbE+ z6TIQSZGc4zB0UrmzJJeZVKFB78BTH9l5yfSY5d+mXsaLEEsR4dX++H6Vfp4SpTC00+9 wcyQqg0+WMLg/bXBLjBiT/oxuGHCgE4kegI4Bo/vQUX1DMNLYz4PxHdipLM+QyRoh/mg 82pBh62lgvNvPJenRdykRMX5J0X6uRFVHaSKsNB5u2baVciNzeojKc7LBEc7Ca/KaYmU B6KU6p3Nsw+zXl9zhbPwlz8JfRInjs3A/5m9UTU2MQ3NU8WeigG2klsD2bo6KBDAXhFv bC5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:to:from:dkim-signature; bh=xYCyGNfPOHZLqOm0GIszmAyZZOQztuonNDERUOyQ1Zw=; b=gHnt3nUI8bXdAOEge5+qtOclBPZSMgVGyxTLnUWoS9ZkMZBWnye70WsPCmMucrIpnU YGDGKgFIkzSKfKq699TVsw0kcUCD02CWH6i8+fbzk/6+z969nTSpxhBBn8PyVis4VkYU G4iVezhaAvUzIefPmlJqADkFOAh0KCUZNDCPw9gx91CymHzF4lE9goBbm55l+iBtsqat f13EvVq0qkTboqAgJB0nOXpAPaHLShderK77VE12mtLXKx/LNpbycuI1T5DFfsnvNWoi 4CpCL2nec2z0NwZ9qNywrtjmbgMEZa/gOljb23PAkFrav01yQG9ePwRcgWFS/MBzwjLR sZZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=jBl6Mew+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u64-20020a638543000000b0054fe43caa81si2909636pgd.782.2023.06.15.11.30.52; Thu, 15 Jun 2023 11:31:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=jBl6Mew+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238959AbjFOSNm (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Thu, 15 Jun 2023 14:13:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238942AbjFOSNk (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 15 Jun 2023 14:13:40 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C81F10F7; Thu, 15 Jun 2023 11:13:40 -0700 (PDT) Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35FGJh5d001337; Thu, 15 Jun 2023 18:13:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id; s=corp-2023-03-30; bh=xYCyGNfPOHZLqOm0GIszmAyZZOQztuonNDERUOyQ1Zw=; b=jBl6Mew+siqLyuZbie1TYZniuNI//sqUnpFb3ZS5Q082N2+v7e1Q0tCxxv6m5Y+yTGeO qn7dtKYZhKak82JZ17pde1+v8FflSCRZtkA4rO0UacF8/N7Mq6oliOPXGI5GRnhaBcHr tcec/RLfCJdd4LE4ekhnOZhmzzRVO3xylFkOpiwSKAMeq7sZWD3f+f1imAvKbfa6te6Y rrlB5M/NPLnXUZ9L9IV9L5grA2mwqqc0Z8P3J0QrVwHtZBDIv1KgzZ7G2yrZGw4w7UD0 MROAJfk9cB2lglBrsQajxRVQno1z8H8FGkiEJhCGkqZB3IQ/tPxErOgskTqEcU0GCdQT LQ== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3r4fs22qx3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Jun 2023 18:13:32 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 35FGVOQ8040560; Thu, 15 Jun 2023 18:13:31 GMT Received: from brm-x62-16.us.oracle.com (brm-x62-16.us.oracle.com [10.80.150.37]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTP id 3r4fm70g4c-1; Thu, 15 Jun 2023 18:13:31 +0000 From: Jane Chu <jane.chu@oracle.com> To: dan.j.williams@intel.com, vishal.l.verma@intel.com, dave.jiang@intel.com, ira.weiny@intel.com, willy@infradead.org, viro@zeniv.linux.org.uk, brauner@kernel.org, nvdimm@lists.linux.dev, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH v5 0/1] dax: enable dax fault handler to report VM_FAULT_HWPOISON Date: Thu, 15 Jun 2023 12:13:24 -0600 Message-Id: <20230615181325.1327259-1-jane.chu@oracle.com> X-Mailer: git-send-email 2.18.4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-15_14,2023-06-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 suspectscore=0 mlxlogscore=630 mlxscore=0 phishscore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306150157 X-Proofpoint-GUID: xFj82FaAXvE_8ztIlbzaF0GHqAxUaFDn X-Proofpoint-ORIG-GUID: xFj82FaAXvE_8ztIlbzaF0GHqAxUaFDn X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768794482397569291?= X-GMAIL-MSGID: =?utf-8?q?1768794482397569291?= |
Series |
dax: enable dax fault handler to report VM_FAULT_HWPOISON
|
|
Message
Jane Chu
June 15, 2023, 6:13 p.m. UTC
Change from v4: Add comments describing when and why dax_mem2blk_err() is used. Suggested by Dan. Change from v3: Prevent leaking EHWPOISON to user level block IO calls such as zero_range_range, and truncate. Suggested by Dan. Change from v2: Convert EHWPOISON to EIO to prevent EHWPOISON errno from leaking out to block read(2). Suggested by Matthew. Jane Chu (1): dax: enable dax fault handler to report VM_FAULT_HWPOISON drivers/dax/super.c | 5 ++++- drivers/nvdimm/pmem.c | 2 +- drivers/s390/block/dcssblk.c | 3 ++- fs/dax.c | 11 ++++++----- fs/fuse/virtio_fs.c | 3 ++- include/linux/dax.h | 13 +++++++++++++ include/linux/mm.h | 2 ++ 7 files changed, 30 insertions(+), 9 deletions(-)
Comments
On 6/24/2023 11:25 PM, Markus Elfring wrote: >> Change from v4: > … > > I suggest to omit the cover letter for a single patch. > > Will any patch series evolve for your proposed changes? > No. The thought was to put descriptions unsuitable for commit header in the cover letter. thanks, jane > Regards, > Markus
On Tue, Jun 27, 2023 at 08:08:19AM +0200, Markus Elfring wrote: > > The thought was to put descriptions unsuitable for commit header in the cover letter. > > How do you think about to put additional information below triple dashes > (or even into improved change descriptions)? > > See also: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.4#n686 Markus, Please go away. Your feedback is not helpful. Thank you.
On Tue, Jun 27, 2023 at 06:22:47PM +0200, Markus Elfring wrote: > >> How do you think about to put additional information below triple dashes > >> (or even into improved change descriptions)? > >> > >> See also: > >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.4#n686 > > > > Markus, > > > > Please go away. Your feedback is not helpful. > > Would you insist on the usage of cover letters also for single patches? I would neither insist on it, nor prohibit it. It simply does not make enough difference.
Markus Elfring wrote: > >> Would you insist on the usage of cover letters also for single patches? > > > > I would neither insist on it, nor prohibit it. > > It seems that you can tolerate an extra message here. > > > > It simply does not make enough difference. > > Can it occasionally be a bit nicer to receive all relevant information within a single patch > instead of a combination of two messages? No, I am the maintainer of this code and everything I needed to judge this patch was provided. This cover letter only included inter-version details and anything relevant for the kernel history is included in the patch itself. For any code I maintain inter-version details below the --- line or in a 0/1 cover letter are perfectly acceptable. Please, if the review feedback is arbitrary, as it is in this case, strongly consider not offering it.