Method and apparatus of processing an access to a disk block
暂无分享,去创建一个
A method and a device for processing access to a disk block are provided to improve performance by sharing a cache between OS(Operating System) domains through memory access control in a VMM(Virtual Monitor Machine) environment without copying data and prevent data collision by performing access control for a disk drive in a device domain. A device domain(210) receives an access request to a disk block from one OS domain(200,220), determines permission of the access request to the disk block by referring to a block table(212), and processes disk block access of the OS domain depending on a determination result. The device domain includes the block table including more than one of a lock type, a lock holder, a home node, and a page address of the disk block. The device domain requests updating a page table of the OS domain to a VMM(230) to share a page of the disk block and returns the page address shared by updating the page block to the OS domain when the disk block is cached to other OS domain. The device domain accesses a disk drive(240) and enables the disk drive to copy data of the data block to the page of the OS domain when the disk block is not cached to other OS domain.