US 10678432
User space and kernel space access to memory devices through private queues
Granted 2020-06-09 · Filed 2017-01-26 · Application 15/416,990 · Utility · Kind B1
- Assignee as printed
- Pure Storage, Inc., Mountain View, CA (US) · PatentsView label: PURE STORAGE, INC.
- Inventors
- Roland Dreier, Mountain View, CA (US); Bryan Freed, Los Altos, CA (US); Logan Jennings, Menlo Park, CA (US); Sandeep Mann, Fremont, CA (US)
- CPC, current
- G06F3/0604; G06F3/061; G06F3/0617; G06F3/0659; G06F3/067; G06F3/0689
Abstract
A storage controller coupled to a storage array includes a device driver running in a kernel space that receives an administrative command from an application running in a user space of the storage controller and writes the administrative command to a first submission queue of a plurality of submission queues associated with a storage device in the storage array, where the first submission queue is reserved for use by the device driver. An input/output (I/O) command received from the application running in the user space, however, is written directly to a second submission queue of the plurality of submission queues without being routed through the kernel space, where the second submission queue being reserved for direct access by the application running in the user space.
The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.
Claim 1
Independent claim.
1. A system comprising:
- Claim 1, element e1a storage array comprising a plurality of storage devices; and 24–81
- Claim 1, element e2a storage controller coupled to the storage array, the storage controller comprising a plurality of submission queues corresponding to a first storage device of the plurality of storage devices and a processing device, the processing device to: 87–330
- Claim 1, element e3receive an administrative command from an application in a user space of the storage controller, 332–427
- Claim 1, element e4wherein the administrative command is routed through a kernel space device driver in a kernel space of the storage controller; 429–554
- Claim 1, element e5send the administrative command to a first submission queue of the plurality of submission queues, the first submission queue being reserved for use by the kernel space device driver; 556–738
- Claim 1, element e6receive a first input/output (I/O) command from the application in the user space; and 740–821
- Claim 1, element e7send the first I/O command to a second submission queue of the plurality of submission queues without routing the first I/O command through the kernel space, the second submission queue being reserved for direct access by the application in the user space.827–1082
5 dependent claims: 2 to 6 (2, 3, 4, 5, 6 on claim 1)
Claim 2
Depends on claim 1.
2. The system of claim 1 , wherein
- Claim 2, element e1the administrative command comprises at least one of a firmware update or a debug operation corresponding to the first storage device.35–168
Claim 3
Depends on claim 1.
3. The system of claim 1 , wherein
- Claim 3, element e1the processing device further to: 35–67
- Claim 3, element e2receive a system call corresponding to the administrative command, the system call made to a block layer in the kernel space of the storage controller, the block layer to translate a file referenced by the system call to storage blocks on the first storage device and provide an indication of the storage blocks to the kernel space device driver.69–414
Claim 4
Depends on claim 1.
4. The system of claim 1 , wherein
- Claim 4, element e1the first I/O command comprises at least one of a write operation or a read operation corresponding to data stored on the first storage device.35–177
Claim 5
Depends on claim 1.
5. The system of claim 1 , wherein
- Claim 5, element e1the first submission queue and the second submission queue are to communicate concurrently with the first storage device.35–155
Claim 6
Depends on claim 1.
6. The system of claim 1 , wherein
- Claim 6, element e1the processing device further to: 35–67
- Claim 6, element e2receive a second I/O command from the application in the user space, 69–136
- Claim 6, element e3wherein the second I/O command is routed through the kernel space device driver; and 138–217
- Claim 6, element e4send the second I/O command to a third submission queue of the plurality of submission queues.223–316
Claim 7
Independent claim.
7. A method comprising:
- Claim 7, element e1receiving, by a kernel space device driver running in a kernel space of a computing device, a first command from an application running in a user space of the computing device; 24–199
- Claim 7, element e2writing the first command to a first submission queue of a plurality of submission queues associated with a storage drive coupled to the computing device, the first submission queue being reserved for use by the kernel space device driver; 201–439
- Claim 7, element e3receiving a second command from the application running in the user space; and 441–514
- Claim 7, element e4writing the second command to a second submission queue of the plurality of submission queues without routing the second command through the kernel space, the second submission queue being reserved for direct access by the application running in the user space.520–780
6 dependent claims: 8 to 13 (8, 9, 10, 11, 12 on claim 7; 13 on 12)
Claim 8
Depends on claim 7.
8. The method of claim 7 , wherein
- Claim 8, element e1the first command comprises an administrative command.35–88
Claim 9
Depends on claim 7.
9. The method of claim 7 , further comprising:
- Claim 9, element e1receiving a system call corresponding to the first command, the system call made to a block layer in the kernel space of the storage controller, the block layer to translate a file referenced by the system call to storage blocks on the storage drive and provide an indication of the storage blocks to the kernel space device driver.47–378
Claim 10
Depends on claim 7.
10. The method of claim 7 , wherein
- Claim 10, element e1the second command comprises an input/output (I/O) command.36–94
Claim 11
Depends on claim 7.
11. The method of claim 7 , wherein
- Claim 11, element e1the first submission queue and the second submission queue are to communicate concurrently with the storage drive.36–149
Claim 12
Depends on claim 7.
12. The method of claim 7 , further comprising:
- Claim 12, element e1receiving a system call from the application running in the user space; and 48–118
- Claim 12, element e2determining whether the second submission queue has been reserved; and 124–189
- Claim 12, element e3in response to the system call, allocating the second submission queue for direct access by the application.195–302
Claim 13
Depends on claim 12.
13. The method of claim 12 , wherein
- Claim 13, element e1allocating the second submission queue comprises updating configuration parameters and queue mapping data in a virtual memory space managed by the kernel space device driver.37–210
Claim 14
Independent claim.
14. A non-transitory computer readable storage medium storing instructions, which when executed, cause a processing device to: send, by an application in a user space of a storage controller, a first command to a kernel space device driver in a kernel space of the storage controller, the kernel space device driver to send the first command to a first submission queue of a plurality of submission queues associated with a storage device coupled to the storage controller, the first submission queue being reserved for use by the kernel space device driver; and send, by the application in the user space, a second command to a second submission queue of the plurality of submission queues without routing the second command through the kernel space, the second submission queue being reserved for direct access by the application in the user space.
7 dependent claims: 15 to 20 (15, 16, 17, 18, 19, 20, 20 on claim 14)
Claim 15
Depends on claim 14.
15. The non-transitory computer readable storage medium of claim 14 , wherein
- Claim 15, element e1the first command comprises an administrative command.78–131
Claim 16
Depends on claim 14.
16. The non-transitory computer readable storage medium of claim 14 , wherein
- Claim 16, element e1the instructions cause the processing device further to: 78–133
- Claim 16, element e2send a system call corresponding to the first command to a block layer in the kernel space of the storage controller, the block layer to translate a file referenced by the system call to storage blocks on the storage device and provide an indication of the storage blocks to the kernel space device driver.135–440
Claim 17
Depends on claim 14.
17. The non-transitory computer readable storage medium of claim 14 , wherein
- Claim 17, element e1the second command comprises an input/output (I/O) command.78–136
Claim 18
Depends on claim 14.
18. The non-transitory computer readable storage medium of claim 14 , wherein
- Claim 18, element e1the first submission queue and the second submission queue are to communicate concurrently with the storage device.78–192
Claim 19
Depends on claim 14.
19. The non-transitory computer readable storage medium of claim 14 , wherein
- Claim 19, element e1the instructions cause the processing device further to: 78–133
- Claim 19, element e2send a system call to the kernel space device driver in the kernel space of the storage controller, the system call to cause the kernel space device driver to allocate the second submission queue for direct access by the application.135–367
Claim 20
Depends on claim 14.
20. The non-transitory computer readable storage medium of claim 14 , wherein
- Claim 20, element e1the application comprises at least one of an operating system, a file system, a database or a computer application program.78–200
Claim 20 (this number appears more than once in the data)
Depends on claim 14.
20. The non-transitory computer readable storage medium of claim 14 , wherein
- Claim 20, element e1the application comprises at least one of an operating system, a file system, a database or a computer application program.78–200
1. A system comprising: a storage array comprising a plurality of storage devices; and a storage controller coupled to the storage array, the storage controller comprising a plurality of submission queues corresponding to a first storage device of the plurality of storage devices and a processing device, the processing device to: receive an administrative command from an application in a user space of the storage controller, wherein the administrative command is routed through a kernel space device driver in a kernel space of the storage controller; send the administrative command to a first submission queue of the plurality of submission queues, the first submission queue being reserved for use by the kernel space device driver; receive a first input/output (I/O) command from the application in the user space; and send the first I/O command to a second submission queue of the plurality of submission queues without routing the first I/O command through the kernel space, the second submission queue being reserved for direct access by the application in the user space.
2. The system of claim 1 , wherein the administrative command comprises at least one of a firmware update or a debug operation corresponding to the first storage device.
3. The system of claim 1 , wherein the processing device further to: receive a system call corresponding to the administrative command, the system call made to a block layer in the kernel space of the storage controller, the block layer to translate a file referenced by the system call to storage blocks on the first storage device and provide an indication of the storage blocks to the kernel space device driver.
4. The system of claim 1 , wherein the first I/O command comprises at least one of a write operation or a read operation corresponding to data stored on the first storage device.
5. The system of claim 1 , wherein the first submission queue and the second submission queue are to communicate concurrently with the first storage device.
6. The system of claim 1 , wherein the processing device further to: receive a second I/O command from the application in the user space, wherein the second I/O command is routed through the kernel space device driver; and send the second I/O command to a third submission queue of the plurality of submission queues.
7. A method comprising: receiving, by a kernel space device driver running in a kernel space of a computing device, a first command from an application running in a user space of the computing device; writing the first command to a first submission queue of a plurality of submission queues associated with a storage drive coupled to the computing device, the first submission queue being reserved for use by the kernel space device driver; receiving a second command from the application running in the user space; and writing the second command to a second submission queue of the plurality of submission queues without routing the second command through the kernel space, the second submission queue being reserved for direct access by the application running in the user space.
8. The method of claim 7 , wherein the first command comprises an administrative command.
9. The method of claim 7 , further comprising: receiving a system call corresponding to the first command, the system call made to a block layer in the kernel space of the storage controller, the block layer to translate a file referenced by the system call to storage blocks on the storage drive and provide an indication of the storage blocks to the kernel space device driver.
10. The method of claim 7 , wherein the second command comprises an input/output (I/O) command.
11. The method of claim 7 , wherein the first submission queue and the second submission queue are to communicate concurrently with the storage drive.
12. The method of claim 7 , further comprising: receiving a system call from the application running in the user space; and determining whether the second submission queue has been reserved; and in response to the system call, allocating the second submission queue for direct access by the application.
13. The method of claim 12 , wherein allocating the second submission queue comprises updating configuration parameters and queue mapping data in a virtual memory space managed by the kernel space device driver.
14. A non-transitory computer readable storage medium storing instructions, which when executed, cause a processing device to: send, by an application in a user space of a storage controller, a first command to a kernel space device driver in a kernel space of the storage controller, the kernel space device driver to send the first command to a first submission queue of a plurality of submission queues associated with a storage device coupled to the storage controller, the first submission queue being reserved for use by the kernel space device driver; and send, by the application in the user space, a second command to a second submission queue of the plurality of submission queues without routing the second command through the kernel space, the second submission queue being reserved for direct access by the application in the user space.
15. The non-transitory computer readable storage medium of claim 14 , wherein the first command comprises an administrative command.
16. The non-transitory computer readable storage medium of claim 14 , wherein the instructions cause the processing device further to: send a system call corresponding to the first command to a block layer in the kernel space of the storage controller, the block layer to translate a file referenced by the system call to storage blocks on the storage device and provide an indication of the storage blocks to the kernel space device driver.
17. The non-transitory computer readable storage medium of claim 14 , wherein the second command comprises an input/output (I/O) command.
18. The non-transitory computer readable storage medium of claim 14 , wherein the first submission queue and the second submission queue are to communicate concurrently with the storage device.
19. The non-transitory computer readable storage medium of claim 14 , wherein the instructions cause the processing device further to: send a system call to the kernel space device driver in the kernel space of the storage controller, the system call to cause the kernel space device driver to allocate the second submission queue for direct access by the application.
20. The non-transitory computer readable storage medium of claim 14 , wherein the application comprises at least one of an operating system, a file system, a database or a computer application program.
20. The non-transitory computer readable storage medium of claim 14 , wherein the application comprises at least one of an operating system, a file system, a database or a computer application program.
The text of each claim as printed, for pasting a claim word for word. The links in the tree view name the same claims and elements.
Status
active
As of 2026-11-17, the USPTO record for US 10678432 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2038-06-12 (20 years from filing, plus 502 days of patent term adjustment), a date not yet passed (data version 20261117.2).
- Basis
- term_20y · pta_days:502 (20 years from filing, plus 502 days of patent term adjustment)
- Term end
- 2038-06-12 Computed from the dates in the USPTO record
- Fee lapse
- none on record
- Reinstatement
- none on record; reinstatement_possible: false, not lapsed
- As of
- 2026-11-17
- Data version
- 20261117.2
A fact about the record with its basis and its as-of date, not legal advice.
Citations
References cited on the grant: 17 US patent documents · Cited by: 51 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10678432/ (needs a free key, as the links under Get this as data)
Family outside the US
Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).
This patent's family on USPTO Global Dossier
Family data from Google Patents Public Datasets, used under CC BY 4.0.
Record JSON
{
"patent_id": "10678432",
"status": "active",
"basis": [
"term_20y",
"pta_days:502"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2038-06-12",
"lapse_date": null,
"reinstated_date": null,
"as_of": "2026-11-17",
"data_version": "20261117.2",
"catalog_data_version": "20261117.2",
"permalink": "https://patentref.io/p/10678432?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/10678432?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/10678432/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=10678432",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/10678432/ - Status record
/api/v1/lapse/status/10678432/ - Claim tree
/api/v1/structure/claims/10678432/ - Brief
/api/v1/structure/brief/10678432/
These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.