Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp390569ybg; Tue, 9 Jun 2020 03:21:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxiTTZ7FRyHt8o+dn3kbj1Yq1o/m+dQ+nN9q8EoxQZwkVSEveUV40o05NN5SYFeq0F3/2d X-Received: by 2002:a17:907:10d3:: with SMTP id rv19mr24369350ejb.327.1591698105044; Tue, 09 Jun 2020 03:21:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591698105; cv=none; d=google.com; s=arc-20160816; b=tkmTKGWItkX8wCRY76zqHI3eFUQIr8SyAveLNJcJrHpTE3hRZPGhOO0wPCdVV36zOc /TrYEC0xwC1yjrP+K2KldxyvnynuPBNbCWYTiWCcGT1MUkENeuLFXKQ2h7X2kSuIhqt8 mg7TJyz0UXZ6P0gT9EalGcK/55U0NhX/v1CIweNUIZJsiNpJ7Y1IiTeYrviva4R/FE2E MkcDoMg/zMxPVz7fJkOy0PlFx7Cb19q6dzxdeRsb5IUA82AmQt2kiuFFohRtRzbtQWm0 JszRYKJmqWwWIo4V4KGWm+RpHjHrITQ0Qp1b2frKMEcoTaYipT5+KukCemFXv2Ub86fS AuLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=085VCpEjqM+GYch4ms9evINYEp+0wAs7XM3mVBlU0S0=; b=euW7t7QHyYcqCCGiNhWVnZAvz118tKry8xZNFBXezz6YDETLBO0xcyAahFv+soPUt5 OhrxP2WmzsILqs4GXPn55uiKqtzb8IzoSpu8XpGu3cGwmb+7085foHVvu1I88hmYPxip NDch9eiekXRbqce5VnwhN3dcziScogfaJpL8N+XI+d66wGnuZQyqbNWamGbzeEvbkZaI aeG32dR/3UI8K8r5XaNFSXHWTyTKhhdvphxY5A2frzyWaFvIhMv1DeDeT5X2Veedyq0g ruCrmUfiiMn2jF+9xdAvYzDrwWVgV6Wuj9VknjZkXhQfKVzZOonCdGm67VLOjAqRI5rT u5IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=b9FcJ+mn; 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=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p9si9629318edx.554.2020.06.09.03.21.12; Tue, 09 Jun 2020 03:21:45 -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=@alien8.de header.s=dkim header.b=b9FcJ+mn; 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=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727868AbgFIKUZ (ORCPT + 99 others); Tue, 9 Jun 2020 06:20:25 -0400 Received: from mail.skyhub.de ([5.9.137.197]:38358 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727831AbgFIKUZ (ORCPT ); Tue, 9 Jun 2020 06:20:25 -0400 Received: from zn.tnic (p200300ec2f0d68002503c5de6f6b5eb0.dip0.t-ipconnect.de [IPv6:2003:ec:2f0d:6800:2503:c5de:6f6b:5eb0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 21B641EC02B1; Tue, 9 Jun 2020 12:20:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1591698023; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=085VCpEjqM+GYch4ms9evINYEp+0wAs7XM3mVBlU0S0=; b=b9FcJ+mnX+Q47LOFSNU9YDy/3dRiU1w3RBY8bgcoCgkrdaRNbP/GouFz6vOgiKtrl38pMx pV/jHoN7mWdbF16dfS5hAMKtsgLyxySnBkwXlmpPdpcPEzMK9EfNi7taapklf49q2HZui9 dcztIqPhrt6fhELlQj9WfKpK6elI13Q= Date: Tue, 9 Jun 2020 12:20:15 +0200 From: Borislav Petkov To: Ritesh Harjani Cc: Marek Szyprowski , Ritesh Harjani , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, Jan Kara , Theodore Ts'o , "Aneesh Kumar K . V" , linux-kernel@vger.kernel.org Subject: Re: [PATCHv5 3/5] ext4: mballoc: Introduce pcpu seqcnt for freeing PA to improve ENOSPC handling Message-ID: <20200609102015.GA7696@zn.tnic> References: <7f254686903b87c419d798742fd9a1be34f0657b.1589955723.git.riteshh@linux.ibm.com> <2940d744-3f6f-d0b5-ad8d-e80128c495d0@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2940d744-3f6f-d0b5-ad8d-e80128c495d0@gmail.com> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Jun 03, 2020 at 03:40:16PM +0530, Ritesh Harjani wrote: > Yes, this is being discussed in the community. > I have submitted a patch which should help fix this warning msg. > Feel free to give this a try on your setup. > > https://marc.info/?l=linux-ext4&m=159110574414645&w=2 I just triggered the same thing here too. Looking at your fix and not even pretending to know what's going on with that percpu sequence counting, I can't help but wonder why do you wanna do: seq = *raw_cpu_ptr(&discard_pa_seq); instead of simply doing: seq = this_cpu_read(discard_pa_seq); ? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette