Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5432293ybe; Tue, 10 Sep 2019 03:41:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuKIBLnfNbYq3lko/AdW4kd5uMwTz6R2DWrMr/kKWqeXG4/9eTSTMJyeIZOHlLL38xQ3OO X-Received: by 2002:aa7:c24f:: with SMTP id y15mr30674508edo.152.1568112076403; Tue, 10 Sep 2019 03:41:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568112076; cv=none; d=google.com; s=arc-20160816; b=eqQrtf1Pq4x4UUG4AmwFhJQZlltaNPbgIV+1KfqDootcn8fGPlnaXIOroM+OHmHu7N mWeJa09euYnKlPwh/Usn+ok9EtTpd8Bea2aiMnFQ/g+0AFFrUzZdu5UHk+X0QVko0fc9 9SSMsN8im+YcBG7QuRaKQDtMDD44Py447/FcHWAPITGWSEWKbxZiqopZKQ28Q6To9TSB d7DCSvy3bQDeLh459u4NWLS6WYox38NUXq5FjoyuJGwlXHlYaCe/wUIR4g6NYz2Yh7LU YTAPJqbRhU9wy7xB3LupsKUYLW44NndfkAVdOXDwWOrdwfVOaNmGn4ekFtpcXCxL+A+6 rAng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=2DrkhGPdPNpHkFc5j7Jf+UBRr/PJrOsC0aoouCBeVg8=; b=fvnVeoFtjaBBIKdO8lCTKGDYBjyxHYcx1+TteEOf5tslS0Q8DEha7++4gsa+8lS4vK 9HBllr0eBjz60t6ltulBrxGRL/rlQwKjul+kOCbvUDuFQ+64f5GbwcuhWb4wOTj2i4HH Eqm4Bby01h4N9m9cgPvbXsmA8V28OBqrlWtfrKoj74+xkJW5HerIwLPl+Sd5ITbzNJMF a/8BUUerUp9yURzOIiVQ/NJkjH5s5QR0ADUjBOA4x4IMxPWTzAjo4AZGUL0mANtTFBOb xv4qjsbJlXyrL+kiwDOy7wn6tb7oTJJ9tFA8r3LCtjgQUmNcjlAsNXvlsbPqZtxEUWGf EFZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iKwXphZF; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rl13si9423482ejb.274.2019.09.10.03.40.46; Tue, 10 Sep 2019 03:41:16 -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=@gmail.com header.s=20161025 header.b=iKwXphZF; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729367AbfIJEVU (ORCPT + 99 others); Tue, 10 Sep 2019 00:21:20 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:40800 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729390AbfIJEVU (ORCPT ); Tue, 10 Sep 2019 00:21:20 -0400 Received: by mail-wr1-f66.google.com with SMTP id w13so17148527wru.7; Mon, 09 Sep 2019 21:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :in-reply-to:user-agent; bh=2DrkhGPdPNpHkFc5j7Jf+UBRr/PJrOsC0aoouCBeVg8=; b=iKwXphZFnd4EJ10aRhCsjbebrYziVjmDnBhFhxggI2H7MYiveCNHM0OzBNuR8z28cH rytuKJ+sQje6UxpLjumiEVlOl1fSg3d7xVtZ4Uutgrwt/LjrC4P2hZX2GzLcWgHV/law SlK/MjDV/ilT4sw90PUy2RrtIHGc4UPnGHAkjKkFCFR5PLKSPVypr3IKxICgbDCu6L6S GwPI6GRLWnm7CTnAd4Bhp3UxoQfU8uAtmpj+WtUBY4q9XheD1IQ0n1msxe4G50dguDgt ilRWQ7GCU+ACpuFExNgPGteJuWJImDEyn/Omg3/ym1vLjr7i9ZhmeR3eMnIXOAqgQGBH qvZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:in-reply-to:user-agent; bh=2DrkhGPdPNpHkFc5j7Jf+UBRr/PJrOsC0aoouCBeVg8=; b=AA9VWvufReMOZJw/inNkEjnP/yjLhSaOnHKszET0aNpA4llr8aY9MuH9PHSwU4MlJ7 AxZXli211zMF/JfjbPaKENtrwJ4kd3FRe5NLybo539OLWtTvEEbRmXP6al/8uY6LeHEd hABwfPrIthDUhKI2tT/IevadQmdlW7gSESW0Gpjj6rXPQhdMIU8c6cGWe9MgW98/duaJ 7p5I96LQowxoRhKPqeG/YQnzbLlzU5rDQlrBMaWxH1N5oWl604ho7fu8eyzy5tOeX53a 5JKzTVW0vIKs21NF6lopXNiO1tkk+TgAu9WycFFg1Z8iiY+UjgMN4ep1RQZ7EpsXTTMx VMPg== X-Gm-Message-State: APjAAAUHJr1KFvRnQ6Ojgk3VSieQLqxRlRMQQaLfCfVo1ltTC7ZsxFg7 4wmg+oodVSXRJrm5SsLEsWJ/ikCI X-Received: by 2002:adf:ef05:: with SMTP id e5mr22668169wro.127.1568089278090; Mon, 09 Sep 2019 21:21:18 -0700 (PDT) Received: from darwi-home-pc (ip-109-42-2-46.web.vodafone.de. [109.42.2.46]) by smtp.gmail.com with ESMTPSA id x5sm23142789wrg.69.2019.09.09.21.21.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2019 21:21:17 -0700 (PDT) Date: Tue, 10 Sep 2019 06:21:07 +0200 From: "Ahmed S. Darwish" To: Theodore Ts'o , Andreas Dilger , Linus Torvalds Cc: Jan Kara , zhangjs , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Linux 5.3-rc8 Message-ID: <20190910042107.GA1517@darwi-home-pc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Hi, On Sun, Sep 08, 2019 at 01:59:27PM -0700, Linus Torvalds wrote: > So we probably didn't strictly need an rc8 this release, but with LPC > and the KS conference travel this upcoming week it just makes > everything easier. > 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. The hardware is not a VM: it's a Thinkpad E480 (i5-8250U CPU), with a standard Arch user-space. It was discovered through bisecting the problem v5.2 => v5.3-rc1, since v5.2 never had any similar issues. The issue still persists in v5.3-rc8: reverting that commit always fixes the problem. It seems that batching the directory lookup I/O requests (which are possibly a lot during boot) is minimizing sources of disk-activity- induced entropy? [2] [3] 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. Thanks, [1] commit b03755ad6f33b7b8cd7312a3596a2dbf496de6e7 Author: zhangjs Date: Wed Jun 19 23:41:29 2019 -0400 ext4: make __ext4_get_inode_loc plug Add a blk_plug to prevent the inode table readahead from being submitted as small I/O requests. Signed-off-by: zhangjs Signed-off-by: Theodore Ts'o Reviewed-by: Jan Kara [2] https://lkml.kernel.org/r/20190619122457.GF27954@quack2.suse.cz [3] block/blk-core.c :: blk_start_plug() -- darwi http://darwish.chasingpointers.com