Return-Path: Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:59130 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753167AbbLDBww (ORCPT ); Thu, 3 Dec 2015 20:52:52 -0500 Message-ID: <1449193956.30642.67.camel@decadent.org.uk> Subject: Re: [3.14] Additional fixes after dcache backports From: Ben Hutchings To: Guillaume Morin , stable@vger.kernel.org, greg@kroah.com Cc: Linus Torvalds , Al Viro Date: Fri, 04 Dec 2015 01:52:36 +0000 In-Reply-To: <20151203215213.GA13221@bender.morinfr.org> References: <20151203215213.GA13221@bender.morinfr.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-4OX4PpiC7AhHbKvF2Uri" Mime-Version: 1.0 Sender: stable-owner@vger.kernel.org List-ID: --=-4OX4PpiC7AhHbKvF2Uri Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2015-12-03 at 22:52 +0100, Guillaume Morin wrote: > Greg, >=20 > The following commits were added to 3.14.51: > 635fa0fd72cc974920ec3e3b23f50bde1eba3237 dcache: don't need rcu in shrink= _dentry_list()=C2=A0 > 85903ac93619905fe0f07e85dac57324a0936759 more graceful recovery in umount= _collect()=C2=A0 > c214cb82cdc744225d85899fc138251527f75fff don't remove from shrink list in= select_collect()=C2=A0 >=20 > They create a livelock condition reported at the time in 3.15-rc4, see=C2= =A0 > the thread "fs/dcache.c - BUG: soft lockup - CPU#5 stuck for 22s!=C2=A0 > [systemd-udevd:1667]": > https://groups.google.com/forum/#!msg/linux.kernel/e4tcY4cvHGg/tLZi97S02a= 0J >=20 > I believe you need to pick up the following changes to fix this issue > (they are already in 3.12 and were merged at the same time as the 3 > patched mentioned above) None of the commit hashes listed below exist in mainline or the stable repo. =C2=A0You need to cite the commit hashes in mainline. Ben. > commit 7738a53cf49b034df6d52640f3a2af0c6a0fe0e2 > Author: Al Viro > Date:=C2=A0=C2=A0=C2=A0Wed May 28 09:48:44 2014 -0400 >=20 > =C2=A0=C2=A0=C2=A0=C2=A0lift the "already marked killed" case into shrink= _dentry_list() >=20 > commit 3074aefb9a84561ee8ca6ef8863fe2f4dcaaa4ae > Author: Al Viro > Date:=C2=A0=C2=A0=C2=A0Wed May 28 13:51:12 2014 -0400 >=20 > =C2=A0=C2=A0=C2=A0=C2=A0split dentry_kill() >=20 > commit c06507843fac3251bb8b5c4da8d6bf1964346694 > Author: Al Viro > Date:=C2=A0=C2=A0=C2=A0Wed May 28 13:59:13 2014 -0400 >=20 > =C2=A0=C2=A0=C2=A0=C2=A0expand dentry_kill(dentry, 0) in shrink_dentry_li= st() >=20 > commit 7162622f8fcb2bb33776e2f61cf1c2b69107954d > Author: Al Viro > Date:=C2=A0=C2=A0=C2=A0Thu May 29 08:54:52 2014 -0400 >=20 > =C2=A0=C2=A0=C2=A0=C2=A0shrink_dentry_list(): take parent's ->d_lock earl= ier >=20 > commit a8ff4ae4f9db1042f352e73bda00b72e578b372e > Author: Al Viro > Date:=C2=A0=C2=A0=C2=A0Thu May 29 09:11:45 2014 -0400 >=20 > =C2=A0=C2=A0=C2=A0=C2=A0dealing with the rest of shrink_dentry_list() liv= elock >=20 > commit 1077afa0f8f8f59788c59d84436d98866933e1d4 > Author: Al Viro > Date:=C2=A0=C2=A0=C2=A0Thu May 29 09:18:26 2014 -0400 >=20 > =C2=A0=C2=A0=C2=A0=C2=A0dentry_kill() doesn't need the second argument no= w >=20 > commit 76a9eb416abfdd524fcee2f834d77282d169d6f6 > Author: Linus Torvalds > Date:=C2=A0=C2=A0=C2=A0Sat May 31 09:13:21 2014 -0700 >=20 > =C2=A0=C2=A0=C2=A0=C2=A0dcache: add missing lockdep annotation >=20 > commit 50a754edcdd239bd4282ed3d5010425a46edd520 > Author: Al Viro > Date:=C2=A0=C2=A0=C2=A0Thu Jun 12 00:29:13 2014 -0400 >=20 > =C2=A0=C2=A0=C2=A0=C2=A0lock_parent: don't step on stale ->d_parent of al= l-but-freed one >=20 --=20 Ben Hutchings For every action, there is an equal and opposite criticism. - Harrison --=-4OX4PpiC7AhHbKvF2Uri Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIVAwUAVmDx5Oe/yOyVhhEJAQqO9g/9EMTn76JdJnc1Nt58EKYqXkfkIzW+crs+ Ft4sy501uxZtoApzdij2JxRAOtQbDwmV6bUYvyzHs1f+m3YBwDqrVsxk5DeY6gYm xbGqCS58473nB8JZLLB7r+eiyRvJyew++T3KBYVbgq/OcuK3Dlec4FbUY/QQuiYK gLsq2IMunZyFvLSyubhDMSTYM0+s3iUcSVpqvn+Lo34qZHkWu8uDfdEXZbephHd+ aVQz1pXZRrWys9c2ra7wT9ZPZ9pji1TJQWoc47bu2+H/B5SuyZ4kWqEWsZ1oBexI YJYrirZpCmPUbMKFRqsoSGGjtONK2+yoji5fXvHnI9TPX1wPr2+qeVRnJX11tBY2 WkKeinBa1pmbTbGFq9jMKzF5UmgfXJqT19l5nlnVCilZ/a2nlRgX6RrOGnJCrk0S 1vwRC/pknwfhlni/rxm+vhvHtSE7SBuCItfBNtAc6YvJTCT2L+DIYeuoJpGci7Ny bvs917g2EaAFC0xuJ2ixpr/I+87/8we9THYHcdyGQoq8459G6B0QQGreU7xPr76x eX8bYKoJMgF4sFRc7u4TJNZquRwznBBySkjhUV6DlSOnQyAGXV5tuToDtc7Y4ZWe ZfHOjWEOcnqS84fGv6YUFXCeqUfkLl1LqGStrLw1VqXPVh4VOVNkXVlrd+g6c9Z3 8UKblDP8cWQ= =1hyM -----END PGP SIGNATURE----- --=-4OX4PpiC7AhHbKvF2Uri--