Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5588063ybe; Tue, 10 Sep 2019 06:08:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqwh+kdD7up3ByNg38gUDM8yRsc/zH6xSFJutX0N2RN70LbqsAs6+Fat7WMq6t8v7RT2D1a6 X-Received: by 2002:ac2:44b9:: with SMTP id c25mr21383456lfm.112.1568120908165; Tue, 10 Sep 2019 06:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568120908; cv=none; d=google.com; s=arc-20160816; b=Kl3qL9uGVzUG1akN3tgp8t3Y6jd1D17rHpK21T3aWBpQIiphVI6BRSMEXfnXBdZenZ j1lFkBuLgqQwrVQ06tOvY2jZYTrQHhilDVb9AF75HaGdQwj7SBvdRwlvrBkfou06+toK qLd5bM9BtH7fJrMTkjAJIx58lg8FTsZPRR4dypFVbO5+y0PDU22MwuGyDFrQeah0Vvcb RddtcAJyNP0/X+PJ309WgBIe23zzGu6fIklnYWGxlyqWXUsTm+R1CsmtBkQgbXZhCT7p ttLrCYcSFp0PQ1n7iSg1Ixz0KNnBCKN0z1DVH5guK+xL5K7hC7DQnO9Ll9J/kUIdZ9ar EC+w== 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 :in-reply-to:references:mime-version:dkim-signature; bh=/87kLUWhA8VGKwQ9ReDVfft5SDHkATRiA6uskomi3Do=; b=jVIXYB21qKbGX8UpxDXkol/Qje1Abti0QfO2Im8LK/ur24zeCEx1OaKSNIKOS99bOn ULxBFmJuQaGapPKDTyEqo7c0gAS7M5mQWM+O4RIsnp3GrjtNFytekAWjzIFycczJfkBs fapB+qDVg3HSVqTQI0JyMgw5suCFLeB3Yc0iQ3sKROz9UiZrwPh3P0Iig/ZOgZPSQQEv vB3BGqPJ6mCiE5PFu17oZ9mJGhLJ+DQfcgikOWUUEwHH6u3e5w2ILfjONjNky5HKrsrv DOh1b6eOLVK5mDNhAAcMDoHySQiagEXabAIzqQlNxk7UyShAR0GKpOHODei2hapCzntY yupQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=VPec9JRv; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-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 j38si11658118ede.374.2019.09.10.06.08.02; Tue, 10 Sep 2019 06:08:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-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=@linux-foundation.org header.s=google header.b=VPec9JRv; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729121AbfIJLdc (ORCPT + 99 others); Tue, 10 Sep 2019 07:33:32 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:43294 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728537AbfIJLdc (ORCPT ); Tue, 10 Sep 2019 07:33:32 -0400 Received: by mail-lj1-f193.google.com with SMTP id d5so16047386lja.10 for ; Tue, 10 Sep 2019 04:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/87kLUWhA8VGKwQ9ReDVfft5SDHkATRiA6uskomi3Do=; b=VPec9JRv8Tfx9xEc4r84woloylMuGNHPDiClO6km+SMR4SlGOn2EWxH8paATQU4SYk EdX0wUykyyflt8+WFj/VGKXZi/CVm+7AEyvwhPWJkWLBihBks9G66wETZBSNT1pzq08G a35JZGXi1OKWxuE5XkZCOuOYghEjdjQryubYo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/87kLUWhA8VGKwQ9ReDVfft5SDHkATRiA6uskomi3Do=; b=bzJguR5+2mWZ7tg7Of5Q4qhIjiqIk0xqmfbpSTCsju2p4EqeP8cYQ0qGZuajsQL1Gr TF9DVJQTW3ZEyRJhfccQmY5juJgBfN/ZlD43y8I2ZLUI+CdVDOEBHtha3dxPE1/HupJ9 wrAJhgf9lrtnlr50qolU/yFGJ1nE5MWNV+/fXAjEyVmmuz4eZp693+HgjhcTDf4HVKo9 XXsC8MS7HhYmS4GF75A2Fb6lQyfKV7JiBpbKPdmGBY6VgnkYTFYxw3ZW2Mwg7pbi9k0k BAPf0JoJ+KU31AIGAo4fTMrFpSuTpEOd0sl+eCYQ91aZgoW55u59zo6kctnTF/ZrbK9G lpfw== X-Gm-Message-State: APjAAAWLG7C79FeqazrBiE8NkCunU4uejtaEX+UQZ4cgej8BpF7Ozqx4 Nj3NiRXO1/9mzjkTkwgdIYC4DLECv3ZtXg== X-Received: by 2002:a2e:8611:: with SMTP id a17mr15767865lji.130.1568115209723; Tue, 10 Sep 2019 04:33:29 -0700 (PDT) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com. [209.85.208.179]) by smtp.gmail.com with ESMTPSA id d8sm3775371ljj.59.2019.09.10.04.33.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Sep 2019 04:33:28 -0700 (PDT) Received: by mail-lj1-f179.google.com with SMTP id a22so16090537ljd.0 for ; Tue, 10 Sep 2019 04:33:28 -0700 (PDT) X-Received: by 2002:a2e:3c14:: with SMTP id j20mr18756186lja.84.1568115208066; Tue, 10 Sep 2019 04:33:28 -0700 (PDT) MIME-Version: 1.0 References: <20190910042107.GA1517@darwi-home-pc> In-Reply-To: <20190910042107.GA1517@darwi-home-pc> From: Linus Torvalds Date: Tue, 10 Sep 2019 12:33:12 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Linux 5.3-rc8 To: "Ahmed S. Darwish" Cc: "Theodore Ts'o" , Andreas Dilger , Jan Kara , zhangjs , linux-ext4@vger.kernel.org, Linux List Kernel Mailing Content-Type: text/plain; charset="UTF-8" Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Sep 10, 2019 at 5:21 AM Ahmed S. Darwish wrote: > > The commit b03755ad6f33 (ext4: make __ext4_get_inode_loc plug), [1] > which was merged in v5.3-rc1, *always* leads to a blocked boot on my > system due to low entropy. Exactly what is it that blocks on entropy? Nobody should do that during boot, because on some systems entropy is really really low (think flash memory with polling IO etc). That said, I would have expected that any PC gets plenty of entropy. Are you sure it's entropy that is blocking, and not perhaps some odd "forgot to unplug" situation? > Can this even be considered a user-space breakage? I'm honestly not > sure. On my modern RDRAND-capable x86, just running rng-tools rngd(8) > early-on fixes the problem. I'm not sure about the status of older > CPUs though. It's definitely breakage, although rather odd. I would have expected us to have other sources of entropy than just the disk. Did we stop doing low bits of TSC from timer interrupts etc? Ted, either way - ext4 IO patterns or random number entropy - this is your code. Comments? Linus