mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Question about sys_ind (Partition ID fields)
@ 2008-06-19 17:11 jmerkey
  0 siblings, 0 replies; 2+ messages in thread
From: jmerkey @ 2008-06-19 17:11 UTC (permalink / raw)
  To: linux-kernel


Is there a reason why the sys_ind field (The partition ID) is not cached
in the hd_struct persistently?  I noticed that after the initial
check_partition calls through check_part[]() read all this data and only
remember the starting sector and size of a given partition.  Perhaps I am
missing something, and its stored somewhere else, but I have not located
it yet.

This seems somwhat wasteful since it requires the partition tables and/or
partitions to be re-read all the time instead of just remembering what
sys_ind was previously set.   The argument that it is this way for
supporting dynamic rescanning doesn't seem to match up to the way its
implemented since you have to rescan anyway in most cases.  It makes it
somewhat ackward whem you are instrumenting multi-partition storage
modules.

Jeff


^ permalink raw reply	[flat|nested] 2+ messages in thread
* Question about sys_ind (Partition ID fields)
@ 2008-06-19 17:11 jmerkey
  0 siblings, 0 replies; 2+ messages in thread
From: jmerkey @ 2008-06-19 17:11 UTC (permalink / raw)
  To: linux-kernel


Is there a reason why the sys_ind field (The partition ID) s not cached in
the hd_struct persistently?  I noticed that after the initial
check_partition calls through check_part[]() read all this data and only
remember the starting sector and size of a given partition.  Perhaps I am
missing something, and its stored somewhere else, but I have not located
it yet.

This seems somwhat wasteful since it requires the partition tables and/or
partitions to be re-read all the time instead of just remembering what
sys_ind was previously set.   The argument that it is this way for
supporting dynamic rescanning doesn't seem to match up to the way its
implemented since you have to rescan anyway in most cases.  It makes it
somewhat ackward whem you are instrumenting multi-partition storage
modules.

Jeff


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-19 17:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-19 17:11 Question about sys_ind (Partition ID fields) jmerkey
  -- strict thread matches above, loose matches on Subject: below --
2008-06-19 17:11 jmerkey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®