Block Device arrays Relation?

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

 




For block devices, the "blkdevs" array is used to hold all the registered block device drivers, and the maximum number of allowed block drivers is 255. There is another hash table array called "bdev_hashtable", which is array of struct "block_device".

I'm quite confused with these two arrays. (1) what is the relationship between the "blkdevs" and the "bdev_hashtable"?? (2) Why a extra sruct, called "block_device" is necessary to be used?

Thanks in advance.

Fei

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux