EmbLogic's Blog

Category Archives: Block Driver

Introduction to Block Driver

Overview :  Block Drivers are act as conduit between core memory and secondary storage. There is a virtual memory layer between core memory and secondary storage. Block Layer could be seen as a part of virtual memory subsystem. Block driver … Continue reading

Posted in Block Driver | Leave a comment

Block Driver

Have you ever used VIM editer in the linux? If yes then you must have observed that whatever you type in the editor is visible to you and your system knows that what characters you have written. It means these … Continue reading

Posted in Block Driver | Leave a comment

An Introduction to Block Driver

An Introduction to Block Driver When Unix was written 25 years ago, its design was eclectic. One unusual design feature was that every physical device connected to the computer was represented as a file. This was a bold decision, because … Continue reading

Posted in Block Driver | Leave a comment

Jatinder Kumar:

Successfully implemented Basic Block driver. From registeration to alloc_dsik, add_disk, request and transfer function.Completed documentations also

Posted in Block Driver, Device Drivers, Uncategorized | Leave a comment

block driver crashes on add_disk

here is the code #include”header.h” dev_t dev;     void bulk_request(struct request_queue *q) { struct request *req; req = blk_fetch_request(q); while (req != NULL) { if (req == NULL || (req->cmd_type != REQ_TYPE_FS)) { printk (KERN_NOTICE “Skip non-CMD request\n”); __blk_end_request_all(req, … Continue reading

Posted in Block Driver | Leave a comment