helloi was writing my initial block device driver following LDDbut was totally confused on KERNEL SECTOR SIZE and hardware sector size issue they discussed in that .they write sth likeif sector number passed between kernel and block layer it should be something andif its passed between blocklayer and driver it should be something else.means at different place some confusing note abt sector sizecan someone clear it to me in simple 2-3 sentencesAt what places , in which function i shd consider sending sector size with a thought thatat this place it understand sector= 512 bytesandAt what places , in which function i shd consider sending sector size as my hardware sector sizein thinking that it understand 2048 bytes ...andmost importantin book they writeblk_queue_hardsect_size(request_queue_t *queue , unsigned short max );"All the communication from block layer and driver is in 512 bytes but all request generated by kernel are multiple ofhardware sect size and properly aligned "so i wanted to know where actually is block layer and where is driverwhere are they separated how do i know when i m going from block layer to driver ....what i understand is ONLY user space and kernel spaceit will be very kind if someone clears it to me.thanksNidhiThanks & Regards
Nidhi