[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1183667866.3448.61.camel@localhost.localdomain>
Date: Thu, 05 Jul 2007 15:37:46 -0500
From: James Bottomley <James.Bottomley@...elEye.com>
To: Gabriel C <nix.or.die@...glemail.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-scsi@...r.kernel.org
Subject: Re: [SCSI] SD driver question
On Wed, 2007-07-04 at 18:44 +0200, Gabriel C wrote:
> Is there any reason why sd is printing the driver informations for each
> disk twice in dmesg ?
Yes, it's because of the genhd revalidate rework done by Al Viro in the
block device revalidation path. The problem is that we need to run a
disk revalidate early on in sd bringup to get all the necessary
information ... the gendisk code then does a disk revalidate to read the
partition table, resulting in the two identical sets of messages being
printed. The best fix anyone could suggest was to try to suppress the
messages of the first one using some sort of per scsi_disk flag ...
however, no-one's very keen on this approach.
James
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists