主权项 |
1. A storage system, which is coupled to a file type device comprising a file interface and a block type device comprising a block interface, the storage system comprising:
a storage device; and a central processing unit (CPU) as physical resources which are available for use by a block micro controller for a block type Input/Output (I/O) and by a hypervisor for creating at least one logical partition, wherein the block micro controller takes a first part of the physical resources, including at least a first part of the CPU for processing the block type I/O, and the hypervisor takes a second part of the physical resources, including at least a second part of the CPU and not taken by the block micro controller, for the hypervisor after the first part of the physical resources is taken by the block micro controller, wherein the hypervisor creates the at least one logical partition from the physical resources in the second part of the physical resources, wherein a file Operating System (OS) processes a file type I/O on the at least one logical partition created by the hypervisor, wherein in response to a first write request sent from the block type device, the block micro controller is configured to store write data corresponding to the first write request in the storage device without involvement of the hypervisor, and wherein in response to a second write request sent from the file type device, the file OS is configured to send a command based on the second write request to the block micro controller, and the block micro controller is configured to store write data corresponding to the second write request in the storage device according to the command. |