Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1665404ybk; Mon, 11 May 2020 01:09:26 -0700 (PDT) X-Google-Smtp-Source: APiQypKyNV/lnQsL8WgyHkPC1x6gkJ6MCeTKL1F1C+GQLGfryIaVgekdBQJ9ySMkMYZmO8SYYZvh X-Received: by 2002:aa7:d2cd:: with SMTP id k13mr12771403edr.116.1589184566027; Mon, 11 May 2020 01:09:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589184566; cv=none; d=google.com; s=arc-20160816; b=Tc/dOL6G+cmahAIWLAKg3FVUCDQCOS1HP14E8gvLZNBS5aPo8iyyUso7ux9HZXAQyT 1JCGoI5TtmprOGa9GAVthNvJkUHVkgQqlwettuGDYtvz1eD1cj0Oqf5gLnnLCdvpjPqc lxWawv6Y6SBO007OqmN74PwZUiphWt/M6x07JmdyBVG2noqaAfhv7+6aGnMG+U3L/f1c BgSRfLEbbnjMLUH5NBO00r+rbmIWf915Trxx0PQyj9fb82JYelhCwsAtRuqt00r4IgI5 kFV4L67KOF29GZMz4bY4vWH5xQJJvZ5JNQIR2zH51mGOZhpm/yRTqTPDkv08or/Fmfy4 BE8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=k2G71kN8Haoompxo3U0sCkik6jn//FKFL8AWmWCpJvI=; b=VQdi3xDghPztukCqCfqLquMD3OTb2CIrQcIAcuI4QilGpc3fGlQzA8Cb7CdSN9XbvI NRF7nYOofibIPSBfx+ak8PhcUeERFQaBYoNm36e0iGHnKthuymsXebT/Z4TEaRTLEAb8 xobsYfbJxdcGm985wpget4bNDEvz9HebzKmVAbGeEgELJmWtz4B+iB3xo3bxTfaYdCyv eDdGO7MdDosgnDhN04xHErsp/rtOHl3OCM7aLg8+kTjwwCTDjrCT738CmIl88M6G/bkP KSFU6IMs9ocuwpqHTctsLaLeF+gq1b37z7cFYXYUIc/1AdFAYGNR1HD2XQQa0plinmEK PbeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XNbWWqVK; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w21si5475955edx.313.2020.05.11.01.08.50; Mon, 11 May 2020 01:09:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=@gmail.com header.s=20161025 header.b=XNbWWqVK; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726319AbgEKIIH (ORCPT + 99 others); Mon, 11 May 2020 04:08:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726082AbgEKIIH (ORCPT ); Mon, 11 May 2020 04:08:07 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02E01C061A0C; Mon, 11 May 2020 01:08:05 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id t9so7495667pjw.0; Mon, 11 May 2020 01:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=k2G71kN8Haoompxo3U0sCkik6jn//FKFL8AWmWCpJvI=; b=XNbWWqVKHyKLF7jd1B3sI+3YjTL+cq3MvXdnNWXuqOmEQRFeObEcdBASNHmooe9oRb biqNyWZNDEHxpVT1FGOIX+umumlhX0lGY+e4c8lCsiUtUav2Xi7KYTQossE5xNcIF6fV e8WgOsr4Z+FUt184K3RDDRAPJcjI2X2kMAg0JYUkWYogOd5n2y4ntUNIt6GeSVT6KquY 0IsYVWHi0OOYINJ+hcHRxiutKQMCG9Kv7iwmZ95SznSYSZLP7Q9NNExGZHibbQaB/b+2 DaTmklNT83XQCaQaJJFsbH+mNleZLtnirI/WoDUIHIzGn01hXuqQB0M0rA+2D03+ZsY9 Xnfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=k2G71kN8Haoompxo3U0sCkik6jn//FKFL8AWmWCpJvI=; b=NXwyx9cUoBZVlgxAhaYKYtr8WHxleqnmmdxoY84uBIkjQ3Ltf1c2GMnyfqFIbnK9ue jVFhBFbmyxhUCmD5oVQyIsQMC+qa256j9mPg8R03/JTyPTpKMDJb31QzKcFWUO91A9XU AlR6hcW98tgHXlAz/nVLzgxi2+zliMeLANPcband88XOCww9js6pSJlBJve98zX/EA3b KPCvPQ+r0f8Y6Rnh/133PhTy2mucdgS/imzMJzkDSeHDjTNV09oiqw5myR8ltNxeQm0b vVX4thjWV8Lm/VXEffWbedQqqDEoov3Jx+gmGkhwd31FCmGwsgXuV9jxN4shbkW263xy C17w== X-Gm-Message-State: AGi0PuZkGOss7a0BXfZpwnz9KqVqwVDau1tZpyOGMydfk/gUYtsIZ6Ky LUBP9yT6FlW8acmzSEYwRMg= X-Received: by 2002:a17:902:7c05:: with SMTP id x5mr7216740pll.278.1589184484383; Mon, 11 May 2020 01:08:04 -0700 (PDT) Received: from localhost.localdomain ([124.123.80.46]) by smtp.gmail.com with ESMTPSA id 73sm4143046pge.15.2020.05.11.01.08.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 May 2020 01:08:03 -0700 (PDT) Subject: Re: [PATCH] ext4: Don't set dioread_nolock by default for blocksize < pagesize To: stable@vger.kernel.org Cc: "Theodore Y. Ts'o" , linux-ext4@vger.kernel.org, Jan Kara , "Aneesh Kumar K . V" , Sasha Levin References: <87pndagw7s.fsf@linux.ibm.com> <20200327200744.12473-1-riteshh@linux.ibm.com> <20200329021728.GI53396@mit.edu> From: Ritesh Harjani Message-ID: Date: Mon, 11 May 2020 13:37:59 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <20200329021728.GI53396@mit.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Hello stable-list, I think this subjected patch [1] missed the below fixes tag. I guess the subjected patch is only picked for 5.7. And AFAIU, this patch will be needed for 5.6 as well. Could you please do the needful. Fixes: 244adf6426ee31a (ext4: make dioread_nolock the default) [1]: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git/commit/?h=dev&id=626b035b816b61a7a7b4d2205a6807e2f11a18c1 -ritesh On 3/29/20 7:47 AM, Theodore Y. Ts'o wrote: > On Sat, Mar 28, 2020 at 01:37:44AM +0530, Ritesh Harjani wrote: >> Currently on calling echo 3 > drop_caches on host machine, we see >> FS corruption in the guest. This happens on Power machine where >> blocksize < pagesize. >> >> So as a temporary workaound don't enable dioread_nolock by default >> for blocksize < pagesize until we identify the root cause. >> >> Also emit a warning msg in case if this mount option is manually >> enabled for blocksize < pagesize. >> >> Reported-by: Aneesh Kumar K.V >> Signed-off-by: Ritesh Harjani > > Thanks, applied. > > - Ted >