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
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
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
Successfully implemented Basic Block driver. From registeration to alloc_dsik, add_disk, request and transfer function.Completed documentations also
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