# US 8,578,145 B2 · Port throttling across an operating system restart during a hot upgrade

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

- Number: US 8,578,145 B2
- Document ID: US8578145B2
- Status: Granted
- Kind: B2
- Application number: 12/903,783
- Filed: 2010-10-13
- Published: 2012-04-19
- Granted: 2013-11-05
- Earliest claimed: 2010-10-13
- Assignees: International Business Machines Corporation
- Applicants: Dan Aloni; Kanael Arditti; Maor Ben-Dayan; Avner Braverman; Haim Helman; Ben Reuveni; Liran Zvibel
- Inventors: Dan Aloni; Kanael Arditti; Maor Ben-Dayan; Avner Braverman; Haim Helman; Ben Reuveni; Liran Zvibel
- Web page: https://patentgrep.com/patent/US8578145B2

## CPC

- G06F 9/441: {Multiboot arrangements, i.e. selecting an operating system to be loaded}
- G06F 8/656: while running
- G06F 9/24: Loading of the microprogram
- G06F 9/4411: {Configuring for operating with peripheral devices; Loading of device drivers}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processor, executing a first operating system kernel, tags a region of volatile memory used by a first storage area network (SAN) adapter driver coupled to a SAN adapter, and decouples the first SAN adapter driver from the SAN adapter. A boot of a second operating system kernel is then initiated while preserving in the tagged region of the volatile memory contents stored therein. After the boot, a second SAN adapter driver is then coupled to the SAN adapter.

## Claims

### Claim 1

An apparatus, comprising:
a volatile memory; and
a processor configured to execute a first operating system kernel and tag a region of the volatile memory used by a first storage area network (SAN) adapter driver coupled to a SAN adapter, the first SAN adapter embedded in the first operating system kernel or in a userspace outside the first operating system kernel, to decouple the first SAN adapter driver from the SAN adapter, to initiate a boot of a second operating system kernel while preserving in the tagged region of the volatile memory contents stored therein, and to couple, after the boot, a second SAN adapter driver to the SAN adapter.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein the processor is configured to initiate the boot by performing a hot upgrade of a computer appliance.

### Claim 3 (depends on 2)

The apparatus according to claim 2, wherein the computer appliance comprises a storage controller.

### Claim 4 (depends on 1)

The apparatus according to claim 1, wherein the tagged region comprises a SAN adapter queue storing a plurality of transactions to be processed by the SAN adapter.

### Claim 5 (depends on 1)

The apparatus according to claim 1, wherein the processor is configured, at a time prior to tagging the region, to store the second SAN adapter driver and the second operating system kernel to a storage device coupled to the processor.

### Claim 6 (depends on 5)

The apparatus according to claim 5, wherein the processor is configured to store the first operating system kernel at a first address in the volatile memory, and wherein the processor is further configured to initiate the boot of the second operating system kernel by loading the second operating system kernel from the storage device to a second address in the volatile memory, copying the second operating system kernel from the second address to the first address, and starting the second operating system kernel.

### Claim 7 (depends on 1)

The apparatus according to claim 1, wherein the processor is configured to tag the region by storing, to a parameter table in the volatile memory, a set of parameters referencing the tagged region.

### Claim 8 (depends on 7)

The apparatus according to claim 7, wherein the processor is configured to select each of the parameters from a group consisting of a name, a size, a virtual memory address, a physical memory address and a memory type.

### Claim 9 (depends on 7)

The apparatus according to claim 7, wherein the processor is configured to decouple the first SAN adapter driver by setting a flag, thereby instructing the first SAN adapter driver to ignore interrupts and hardware requests, and serializing login information for one or more host computers communicating with the SAN adapter via a storage area network.

### Claim 10 (depends on 7)

The apparatus according to claim 7, wherein the processor is configured to couple the second adapter driver by retrieving the set of parameters indicating the tagged memory region, resetting the flag, thereby instructing the second SAN adapter driver to process the interrupts and the hardware requests, simulating one or more logins, by the second adapter driver using the serialized login information, with the one or more host computers, and establishing addressability, by the second SAN adapter driver, to the tagged memory region.

### Claim 11

A computer program product, the computer program product comprising:
a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising:
computer readable program code configured to tag a region of a volatile memory used by a first storage area network (SAN) adapter driver coupled to a SAN adapter and executing over a first operating system kernel, the first SAN adapter embedded in the first operating system kernel or in a userspace outside the first operating system kernel;
computer readable program code configured to decouple the first SAN adapter driver from the SAN adapter;
computer readable program code configured to initiate a boot of a second operating system kernel while preserving in the tagged region of the volatile memory contents stored therein; and
computer readable program code configured to couple, after the boot, a second SAN adapter driver to the SAN adapter.

### Claim 12 (depends on 11)

The computer program product according to claim 11, wherein the tagged region comprises a SAN adapter queue storing a plurality of transactions to be processed by the SAN adapter.

### Claim 13 (depends on 11)

The computer program product according to claim 11, wherein the computer readable program code is configured to tag the region by storing, to a parameter table in the volatile memory, a set of parameters referencing the tagged region.

### Claim 14 (depends on 13)

The computer program product according to claim 13, wherein the computer readable program code is configured to decouple the first SAN adapter driver by setting a flag, thereby instructing the first SAN adapter driver to ignore interrupts and hardware requests, and serializing login information for one or more host computers communicating with the SAN adapter via a storage area network.

### Claim 15 (depends on 13)

The computer program product according to claim 13, wherein the computer readable program code is configured to couple the second adapter driver by retrieving the set of parameters indicating the tagged memory region, resetting the flag, thereby instructing the second SAN adapter driver to process the interrupts and the hardware requests, simulating one or more logins, by the second adapter driver using the serialized login information, with the one or more host computers, and establishing addressability, by the second SAN adapter driver, to the tagged memory region.
