sd: Why we need to call sd_revalidate_disk twice in sd_probe_async

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

 



 
Hi all

I notice in sd.c, we call sd_revalidate_disk twice in function
sd_probe_async?  Are there some special reasons? I track the git history,
and found the second one is add by From
3821d768912a47ddbd6cab52943a8284df88003c Mon Sep 17 00:00:00 2001
From: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
Date: Sat, 23 May 2009 11:43:38 -0400
Subject: [PATCH] sd: Detect non-rotational devices

Detect non-rotational devices and set the queue flag accordingly.

Could anyone tell me why?

Thanks
Jack

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux