Skip to contentSkip to conversation

a vm address of rdev's sb_page

DISCUSSION Krzysztof Błaszkowski 1 participant 1 message Oct 15, 2004 MD RAID

lore
Share & tools
lore
#0 lore raw

Hi all,

I couldn't access easy a rdev super block (mdp_superblock_s) by remote gdb (exactly at the places where I wish to print it), so are there any constraints against keep a mdp_supeblock_t * sb_rdev in mdk_rdev_s as well as page *sb_page ? like in 2.4 kernel ? It could also make better overall performance due to that page_address() calls would be unnecessary.

The pointer could be kmapp'ed once after the sb_page is set and kept as long as drive is present in the array.

Regards,
Krzysztof Blaszkowski