[lkml]   [2003]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectTrue number of device openers in 2.5
For single-partition devices it is just bd_openers but I am more intersted in 
multi-partition case. Here I need to know about sum of opens for all
partitions including the whole device. It appears that for a container
bd_openers is incremented for every open of itself and for the _first_ open
of partition and bd_part_count is incremented for every (including first)
open of partition. So bdev->bd_contains->bd_openers +
bdev->bd_contains->bd_part_count really gives an access (number of opened
partitions but this is unknown otherwise).

Thank you

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:36    [W:0.023 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site