From: "Sandeep Kumar" Subject: doubt about linear_ctr Date: Fri, 24 Nov 2006 12:56:21 +0530 Message-ID: <37d33d830611232326i1aefbfa6v86aa97ec6696792@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_41639_4960363.1164353181986" Return-path: Sender: kernelnewbies-bounce@nl.linux.org Errors-to: kernelnewbies-bounce@nl.linux.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: dm-devel@redhat.com, kernelnewbies List-Id: dm-devel.ids ------=_Part_41639_4960363.1164353181986 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ? -- Regards, Sandeep Winners expect to win in advance. Life is a self-fulfilling prophecy. ------=_Part_41639_4960363.1164353181986 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ?

--
Regards,
Sandeep





Winners expect to win in advance. Life is a self-fulfilling prophecy. ------=_Part_41639_4960363.1164353181986-- -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/