Network block device driver mirror Research and Implementation

Author
ChenHong
Advisor
LuXianLiang
School
University of Electronic Science and Technology
Major
Computer System Architecture
Classification
TP316 Operating system
Degree
Master's thesis
Year
2004
Downloads
155
Citations
1

Request the full text

Abstract

This article briefly describes the overall structure of the Linux file system and major data structures, and then focuses on the management of Linux on the buffer block, and finally gives the system call to install or uninstall the file system implementation processes and related data structures. Then on the basis of careful analysis of the above network storage mirroring method, cited several examples to analyze how effectively intercept the user to read and write data. Because the mirror is used in the network TCPIP protocol stack and network programming, so this part of the article also were analyzed. Final analysis of the kernel of some key mechanisms to improve performance. Then came the most important place in this paper is that under Linux driver for the preparation part, because our focus is a block device driver, so a simple introduction about how to write drivers, and then focus on analysis of the block Device Driver important data structure, an important function, and there are request queue data structure and operations functions and so on. Finally, in order to ensure portability, I used not to change the Linux source code tree method, but a method to load the kernel module, it is also a detailed analysis of how to write kernel modules. Then a detailed analysis of the Linux system implemented in software and NAS disk mirroring method, which involves software Raid and Nbd some kernel code, derived from the network mirroring system can take reference from these two different block device driver part of the code, that is, from the Raid learning block device mirroring, and then learn from Nbd data block in the network to deliver some of the techniques. In fact, if we carefully study the Linux kernel source code, you can achieve a lot of things, this is it more popular than Windows systems Hacker welcomed causes. Finally went to the NMBD driver design and implementation methods, the code can be seen from the Linux source tree to me much help. But also in the implementation process found some problems, such as different applications on the consistency of the data block has different needs, such as between the sending and receiving ends to read and write data blocks some of the effects. Then NMBD are carefully considered and made in a number of algorithms to solve. Through preliminary testing of the system, that the system initially achieved design goals.

Related dissertations

  1. Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
    ZhaoBo ·Dalian Polytechnic University ·2012 ·Master's thesis
  2. The Research of CANopen Protocol Based on Embedded Systems
  3. Research and Realization of Embedded Wireless Sensor Networks
    ZhangJiPing ·Dalian Polytechnic University ·2013 ·Master's thesis
  4. Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
    WuHeSheng ·Nanjing University ·2013 ·Doctoral dissertation
  5. The Tailoring of Linux Kernel Based on Testing Coverage
    GuoRui ·University of North ·2014 ·Master's thesis
  6. Porting and Research on Android Based on CK810
    YuChaoJun ·Zhejiang University ·2014 ·Master's thesis
  7. Reseacrh and Realization of Steam Turbine Bearing Temperature Monitoring and Recording Embedded System Based on ARM
    CuiHongLiang ·Dalian Polytechnic University ·2013 ·Master's thesis
  8. Research and Application of Multifunctional Industrial Gas Manufactuirng Monitoring System Based on ARM Platform
  9. The Design and Implement of Internet Monitoring Equipment
  10. Research and Implementation of Intelligent Handheld RFID Reader
  11. A Research of FRAM-based Linux Kernel Crash Dump Mechanism
    ZhangBo ·Chinese Geology University (Beijing) ·2013 ·Master's thesis
  12. Realization on Achieving Wineserver Mechanism in the Linux Kernel
    ZhongBaiSong ·Nanchang University ·2012 ·Master's thesis
  13. Research of Auto-tracing and Analysis in Kernel Running of Linux2.6Based on ARM Simulation Platform
  14. Driver Development of PCIE Data Acquisition Card in Embedded Linux
  15. Design of a Source-Level Linux Kernel Debugger Based on Xen
    LiChao ·Shanghai Jiaotong University ·2013 ·Master's thesis
  16. Multifunctional diary of the design and implementation of Android system based on mobile phone
    YuLong ·Northwestern University ·2012 ·Master's thesis
  17. Research and Implementation of USB Wireless LAN Driver on Embedded Linux
    GuoZuo ·Jinan University ·2012 ·Master's thesis
  18. Research and Implementation of Semi-partitioned Multiprocessor Real-time Scheduling
    XieLiTang ·Northeastern University ·2010 ·Master's thesis
  19. Implementation of Basic Support Software Platform for Loongson-3A
    ShiYang ·China Ship Research Institute ·2012 ·Master's thesis
  20. The Design and Implementation of 10G EPON Embedded Software Supporting IPv6 Protocol Stack