Block device drivers

Source: Internet
Author: User
Common block Layer common data structure: Bio Disk descriptor Gendisk
Generic_make_request is the entry point for the universal block layer
IO scheduling layer: Request queue: Request_queue Request Descriptor: Requests
Block device: Block_device registers a block device Register_blkdev a predetermined master device number.
Block device file Operation Descriptor: Open Blkdev_open release blkdev_close llseek block_llseek read Genric_file_read wrtie blkdev_file_write aio_ Read Generic_file_aio_read aio_write blkdev_file_aio_writemmap generic_file_mmap fsync block_fsyncioctl block_ioctl Compate-ioctl compat_blkdev_ioctlreadv generic_file_readv Writev generic_file_wrtie_nolocksendfile generic_file_ Sendfile


Block device driver registration process: Pending additions

Block device drivers

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.