Re: [SCSI] SD driver question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux