Forwarding to mailing list.
I think this is useful info so I like to share.
-Original Message-
From: Tejun Heo [mailto:hte...@gmail.com] On Behalf Of Tejun Heo
Sent: Friday, April 22, 2016 1:29 PM
To: m...@mkp.net; Soohoon Lee
Cc: Ben Hutchings; Arnd Bergmann
Subject: Re: SATA hot unplug
thanks for your reply.
It works as expected.
is it going to be submitted?
Thanks,
Soohoon.
From: Arnd Bergmann
Sent: Wednesday, February 10, 2016 4:55 PM
To: Soohoon Lee
Cc: Mark Lord; linux-...@vger.kernel.org; Tejun Heo;
linux-kernel@vger.kernel.org
Conincidentally I've found the same problem but fixed it differently.
Because nr_real is not real # of devices but max # of devices of a major #,
it doesn't need to be changed on disk add/remove.
1223c1223
< sd_gendisks[i].nr_real = 0;
---
> sd_gendisks[i].nr_real = SC
3 matches
Mail list logo