Skip to contentSkip to conversation

doubt about linear_ctr

DISCUSSION Sandeep Kumar 1 participant 2 messages Nov 24, 2006 Device mapper

lore
Share & tools
lore
#0 lore raw

Hi all,

#echo 0 100 linear /dev/hdd 0 | dmsetup create new #dd if=/dev/zero count=1 of=/dev/mapper/new

Well, I am trying to get the information printed from the bio structure, when the control comes to linear_ctr.
I found that the control comes to linear_ctr twice.

I have customized the linear_ctr and have re-compiled the kernel.

Why is that so ?
Why two times ?

Signature · 8 lines
Regards,
Sandeep





Winners expect to win in advance. Life is a self-fulfilling prophecy.
#1 lore raw
Quoted 8 lines · Sandeep Kumar

Hi all,

#echo 0 100 linear /dev/hdd 0 | dmsetup create new #dd if=/dev/zero count=1 of=/dev/mapper/new

Quoted 8 lines

Well, I am trying to get the information printed from the bio structure, when the control comes to linear_ctr.
I found that the control comes to linear_ctr twice.

I have customized the linear_ctr and have re-compiled the kernel.

Why is that so ?
Why two times ?

Sorry, its not linear_ctr. Its linear_map.

Quoted 8 lines

Regards,
Sandeep

Winners expect to win in advance. Life is a self-fulfilling prophecy.

Signature · 8 lines
Regards,
Sandeep





Winners expect to win in advance. Life is a self-fulfilling prophecy.