# US 10,120,700 B1 · Using a control virtual disk for storage management

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,120,700 B1
- Document ID: US10120700B1
- Status: Granted
- Kind: B1
- Application number: 14/043,485
- Filed: 2013-10-01
- Granted: 2018-11-06
- Earliest claimed: 2012-10-02
- Assignees: Tintri Inc.
- Applicants: Tintri Inc.
- Inventors: Rex R. Walters; Brandon W. Salmon
- Web page: https://patentgrep.com/patent/US10120700B1

## CPC

- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 3/0605: {by facilitating the interaction with a user or administrator}
- G06F 3/0622: {in relation to access}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0664: {at device level, e.g. emulation of a storage device or system}
- G06F 3/0673: {Single storage device}
- G06F 9/45537: {Provision of facilities of other operating environments, e.g. WINE (I/O emulation G06F13/105)}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 21/62: Protecting access to data via a platform, e.g. using keys or access control rules
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Storage management is disclosed, including: causing at least a control portion of a virtual disk to be created for a virtual machine; and using the at least control portion of the virtual disk as a communication channel between the virtual machine and a storage system.

## Claims

### Claim 1

A storage management system, comprising:
a processor configured to:
send instructions to create a control portion of a virtual disk to a virtual machine, wherein the control portion of the virtual disk includes a plurality of offsets, and wherein each offset is associated with at least one location of the control portion of the virtual disk including one or more of the following: a session sector, a write control sector, a write buffer, a read control sector, and a read buffer;
create the control portion of the virtual disk based on the sent instructions;
in response to creation of the control portion of the virtual disk, storing, by a storage system, metadata identifying valid offset ranges associated with the at least one location of the control portion of the virtual disk;
use the control portion of the virtual disk as a communication channel between a software running on the virtual machine and the storage system, wherein using the control portion of the virtual disk as the communication channel comprises:
receiving a request, via the virtual machine, from a user with administrative privilege to perform a disk operation, the request containing specially formatted data that represents control disk traffic denoted by one or more of the following: a storage system offset, and an storage management task to be performed;
detect, from a hypervisor, an indication that the disk operation has occurred with respect to the at least the control portion of the virtual disk;
forward, by the hypervisor, the detected disk operation to the storage system, via a network protocol;
compare, by the storage system, the storage system offset associated with the disk operation to the valid offset ranges of the metadata stored at the storage system;
if the offset falls within the valid offset ranges, interpret the specially formatted data associated with the disk operation to determine the storage management task;
perform an action associated with the storage management task using the control disk traffic, based at least in part on the interpreted specially formatted data and one of the at least one location of the control portion of the virtual disk; and
upon completion of the performed action, transfer response data associated with the performed action, by the storage system, back to the virtual machine via the control portion of the virtual disk; and
a memory coupled to the processor and configured to provide instructions to the processor.

### Claim 2 (depends on 1)

The storage management system of claim 1, wherein the disk operation comprises a write operation.

### Claim 3 (depends on 1)

The storage management system of claim 1, wherein performing the action associated with the storage management task includes using the specially formatted data associated with the disk operation to perform the storage management task.

### Claim 4 (depends on 3)

The storage management system of claim 3, wherein using the specially formatted data from the request associated with the disk operation includes steps to:
determine that the disk operation is associated with the session sector;
read the specially formatted data associated with the disk operation from the session sector; and
perform the storage management task comprising establishing a session based at least in part on the specially formatted data associated with the disk operation.

### Claim 5 (depends on 4)

The storage management system of claim 4, wherein the processor is further configured to write session information associated with the established session to the session sector.

### Claim 6 (depends on 4)

The storage management system of claim 4, wherein the processor is further configured to track a state of the established session.

### Claim 7 (depends on 3)

The storage management system of claim 3, wherein to use the specially formatted data from the request associated with the disk operation includes steps to:
determine that the disk operation is associated with the write control sector; and
read the specially formatted data from the write buffer.

### Claim 8 (depends on 7)

The storage management system of claim 7, wherein the specially formatted data read from the write buffer comprises the request associated with the storage management task comprising a storage management operation, and wherein the processor is further configured to perform the storage management operation.

### Claim 9 (depends on 8)

The storage management system of claim 8, wherein the processor is further configured to write response data associated with the performed storage management operation to the write control sector.

### Claim 10 (depends on 8)

The storage management system of claim 8, wherein the storage management operation includes one or more of the following:
creating a snapshot; attaching a new virtual disk to the virtual machine with older snapshot versions of data; reverting a state of a specified virtual disk to an earlier state; enabling/disabling certain storage management features related to quality-of-service/performance; accessing state, statistics or reporting information of the virtual machine or a specified virtual disk; and adding or removing a specified virtual disk to the virtual machine.

### Claim 11 (depends on 1)

The storage management system of claim 1, wherein a request from a user for the disk operation associated with the at least control portion of the virtual disk is permitted based at least in part on a level of access privileges associated with the user with respect to the virtual machine.

### Claim 12 (depends on 1)

The storage management system of claim 1, wherein the disk operation comprises a first disk operation and wherein the processor is further configured to:
determine a message for the virtual machine; and
perform a second disk operation associated with the message with respect to the control portion of the virtual disk, wherein the virtual machine is configured to read the message based at least in part on detecting performance of the disk operation associated with the message with respect to the control portion of the virtual disk.

### Claim 13 (depends on 12)

The storage management system of claim 12, wherein the second disk operation associated with the message comprises a write operation of the message with respect to a read buffer.

### Claim 14 (depends on 12)

The storage management system of claim 12, wherein the second disk operation associated with the message comprises a write operation of notification data with respect to a read control sector.

### Claim 15 (depends on 14)

The storage management system of claim 14, wherein the processor is further configured to read commit data from the read control sector, wherein the commit data indicates whether the message was or was not successfully read by the virtual machine.

### Claim 16 (depends on 1)

The storage management system of claim 1, wherein the at least control portion of the virtual disk is created by a guest-side software associated with the virtual machine.

### Claim 17 (depends on 1)

The storage management system of claim 1, wherein to use the control portion of the virtual disk as the communication channel between the software running on the virtual machine and the storage system enables a user associated with the virtual machine to communicate with the storage system without coordination from a hypervisor administrator.

### Claim 18 (depends on 1)

The storage management system of claim 1, wherein the processor is further configured to:
determine a message for the virtual machine; and
write data associated with the message to a read buffer.

### Claim 19 (depends on 6)

The storage management system of claim 6, wherein to track the state of the established session comprises:
tracking a state of completion of the storage management task associated with the session.

### Claim 20

A method, comprising:
sending, by a processor, instructions to create a control portion of a virtual disk to a virtual machine, wherein the control portion of the virtual disk includes a plurality of offsets, and wherein each offset is associated with at least one location of the control portion of the virtual disk including one or more of the following: a session sector, a write control sector, a write buffer, a read control sector, and a read buffer;
creating the control portion of the virtual disk based on the sent instructions;
in response to creation of the control portion of the virtual disk, storing, by a storage system, metadata identifying valid offset ranges associated with the at least one location of the control portion of the virtual disk;
using, by a processor, the control portion of the virtual disk as a communication channel between a software running on the virtual machine and the storage system, wherein using the control portion of the virtual disk as the communication channel comprises:
receiving a request, via the virtual machine, from a user with administrative privilege to perform a disk operation, the request containing specially formatted data that represents control disk traffic denoted by one or more of the following: a storage system offset, and an storage management task to be performed;
detecting, from a hypervisor, an indication that the disk operation has occurred with respect to the at least the control portion of the virtual disk;
forwarding, by the hypervisor, the detected disk operation to the storage system, via a network protocol;
comparing, by the storage system, the storage system offset associated with the disk operation to the valid offset ranges of the metadata stored at the storage system; and
if the offset falls within the valid offset ranges, interpreting the specially formatted data associated with the disk operation to determine the storage management task;
performing an action associated with the storage management task using the control disk traffic, based at least in part on the interpreted specially formatted data and one of the at least one location of the control portion of the virtual disk; and
upon completion of the performed action, transferring response data associated with the performed action, by the storage system, back to the virtual machine via the control portion of the virtual disk.

### Claim 21 (depends on 20)

The method of claim 20, wherein the disk operation comprises a write operation.

### Claim 22 (depends on 20)

The method of claim 20, wherein performing the action associated with the storage management task includes using the specially formatted data associated with the disk operation to perform the storage management task.

### Claim 23 (depends on 22)

The method of claim 22, wherein using the specially formatted data from the request associated with the disk operation includes:
determining that the disk operation is associated with the session sector;
reading the specially formatted data associated with the disk operation from the session sector; and
performing the storage management task comprising establishing a session based at least in part on the specially formatted data associated with the disk operation.

### Claim 24 (depends on 22)

The method of claim 22, wherein using the specially formatted data from the request associated with the disk operation includes:
determining that the disk operation is associated with the write control sector; and
reading specially formatted data from the write buffer.

### Claim 25 (depends on 24)

The method of claim 24, wherein the specially formatted data read from the write buffer comprises a request associated with the storage management task comprising a storage management operation and wherein the processor is further configured to perform the storage management operation.

### Claim 26 (depends on 20)

The method of claim 20, wherein a request from a user for the disk operation associated with the control portion of the virtual disk is permitted based at least in part on a level of access privileges associated with the user with respect to the virtual machine.

### Claim 27 (depends on 20)

The method of claim 20, wherein the disk operation comprises a first disk operation and further comprising:
determining a message for the virtual machine; and
performing a second disk operation associated with the message with respect to the control portion of the virtual disk, wherein the virtual machine is configured to read the message based at least in part on detecting performance of the disk operation associated with the message, with respect to the control portion of the virtual disk.

### Claim 28

A computer program product, wherein the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
sending instructions to create a control portion of a virtual disk to a virtual machine, wherein the control portion of the virtual disk includes a plurality of offsets, and wherein each offset is associated with at least one location of the control portion of the virtual disk including one or more of the following: a session sector, a write control sector, a write buffer, a read control sector, and a read buffer;
creating the control portion of the virtual disk based on the sent instructions;
in response to creation of the control portion of the virtual disk, storing, by a storage system, metadata identifying valid offset ranges associated with the at least one location of the control portion of the virtual disk;
using the control portion of the virtual disk as a communication channel between a software running on the virtual machine and the storage system, wherein using the control portion of the virtual disk as the communication channel comprises receiving a request, via the virtual machine, from a user with administrative privilege to perform a disk operation, the request containing specially formatted data that represents control disk traffic denoted by one or more of the following: a storage system offset, and an storage management task to be performed;
detecting, from a hypervisor, an indication that the disk operation has occurred with respect to the at least the control portion of the virtual disk;
forwarding, by the hypervisor, the detected disk operation to the storage system, via a network protocol;
comparing, by the storage system, the storage system offset associated with the disk operation to the valid offset ranges of the metadata stored at the storage system; and
the offset falls within the valid offset ranges, interpreting the specially formatted data associated with the disk operation to determine the storage management task;
performing an action associated with the storage management task using the control disk traffic, based at least in part on the interpreted specially formatted data and one of the at least one location of the control portion of the virtual disk; and
upon completion of the performed action, transferring response data associated with the performed action, by the storage system, back to the virtual machine via the control portion of the virtual disk.
