IP Library Patent Application 14883799
Patent Application
App. No. 14/883,799

SELECTIVE INITIALIZATION OF STORAGE DEVICES FOR A LOGICAL VOLUME

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
14/883,799
Abstract

Methods and structure for initializing storage devices for a logical volume. One embodiment includes a storage controller with an interface and a control unit. The control unit generates a logical volume, assigns storage devices to the logical volume, generates Small Computer System Interface (SCSI) MODE SENSE commands, and transmits the SCSI MODE SENSE commands via the interface, thereby accessing SCSI mode pages. The control unit also analyzes the SCSI mode pages to determine whether the assigned storage devices have already been initialized by setting available bits in the logical volume to a uniform value. If the control unit determines that each of the assigned storage devices has not already been initialized, the control unit initializes at least one of the assigned storage devices. If the control unit determines that each of the assigned storage devices has already been initialized, the control unit foregoes initialization for the storage devices.

Claims (57)

1 . A storage controller, comprising:

an interface operable to communicate with coupled storage devices; and

a control unit operable to generate a logical volume, to assign storage devices to the logical volume, to generate Small Computer System Interface (SCSI) MODE SENSE commands, and to transmit the SCSI MODE SENSE commands via the interface, thereby accessing SCSI mode pages of the assigned storage devices,

wherein the control unit is further operable to analyze the SCSI mode pages to determine whether the assigned storage devices have already been initialized by setting available bits in the logical volume to a uniform value, and:

if the control unit determines that each of the assigned storage devices has not already been initialized, the control unit is operable to initialize at least one of the assigned storage devices; and

if the control unit determines that each of the assigned storage devices has already been initialized, the control unit is operable to forego initialization for the assigned storage devices.

2 . The storage controller of claim 1 , wherein:

the control unit is further operable to read a flag at a SCSI mode page indicating whether a corresponding storage device has already been initialized.

3 . The storage controller 2 , wherein:

the SCSI mode page is a vendor unique page, and the flag comprises a bit on the vendor unique page.

4 . The storage controller of claim 1 , wherein:

the control unit is further operable to perform Read-Modify-Write (RMW) operations on the logical volume, in response to foregoing initialization for the assigned storage devices.

5 . The storage controller of claim 1 , wherein:

the control unit is further operable to selectively forego initialization on a storage device by storage device basis.

6 . The storage controller of claim 1 , further comprising:

a memory storing configuration data for the logical volume,

wherein the control unit is further operable to update the memory with information indicating whether each of the assigned storage devices for the logical volume has been initialized.

7 . The storage controller of claim 1 , wherein:

the control unit is further operable to forego Read-Modify-Write (RMW) operations on the logical volume until after initialization has been completed for all of the assigned storage devices, in response to initializing at least one of the assigned storage devices.

8 . A method for operating a storage controller, comprising:

generating a logical volume;

assigning storage devices to the logical volume;

generating Small Computer System Interface (SCSI) MODE SENSE commands;

transmitting the SCSI MODE SENSE commands to the assigned storage devices, thereby accessing SCSI mode pages of the assigned storage devices; and

analyzing the SCSI mode pages to determine whether the assigned storage devices have already been initialized by setting available bits in the logical volume to a uniform value, wherein:

if each of the assigned storage devices has not already been initialized, the method further comprises initializing at least one of the assigned storage devices; and

if each of the assigned storage devices has already been initialized, the method further comprises foregoing initialization for the assigned storage devices.

9 . The method of claim 8 , wherein

analyzing the SCSI mode pages comprises reading a flag at a SCSI mode page indicating whether a corresponding storage device has already been initialized.

10 . The method of claim 9 , wherein:

the SCSI mode page is a vendor unique page, and the flag comprises a bit on the vendor unique page.

11 . The method of claim 8 , further comprising:

performing Read-Modify-Write (RMW) operations on the logical volume, in response to foregoing initialization for the assigned storage devices.

12 . The method of claim 8 , further comprising:

selectively foregoing initialization on a storage device by storage device basis.

13 . The method of claim 8 , further comprising:

updating a memory of the storage controller with information indicating whether each of the assigned storage devices for the logical volume has been initialized.

14 . The method of claim 8 , further comprising:

foregoing Read-Modify-Write (RMW) operations on the logical volume until after initialization has been completed for all of the assigned storage devices, in response to initializing at least one of the assigned storage devices.

15 . A non-transitory computer readable medium embodying programmed instructions which, when executed by a processor, are operable for directing the processor to:

generate a logical volume;

assign storage devices to the logical volume;

generate Small Computer System Interface (SCSI) MODE SENSE commands;

transmit the SCSI MODE SENSE commands to the assigned storage devices, thereby accessing SCSI mode pages of the assigned storage devices; and

analyze the SCSI mode pages to determine whether the assigned storage devices have already been initialized by setting setting available bits in the logical volume to a uniform value, wherein:

if each of the assigned storage devices has not already been initialized, the method further comprises initialize at least one of the assigned storage devices; and

if each of the assigned storage devices has already been initialized, the method further comprises forego initialization for the assigned storage devices.

16 . The medium of claim 15 , wherein the instructions further direct the processor to:

analyze the SCSI mode pages comprises reading a flag at a SCSI mode page indicating whether a corresponding storage device has already been initialized.

17 . The method of claim 16 , wherein:

the SCSI mode page is a vendor unique page, and the flag comprises a bit on the vendor unique page.

18 . The method of claim 15 , wherein the instructions further direct the processor to:

perform Read-Modify-Write (RMW) operations on the logical volume, in response to foregoing initialization for the assigned storage devices.

19 . The method of claim 15 , wherein the instructions further direct the processor to:

selectively forego initialization on a storage device by storage device basis.

20 . The method of claim 15 , wherein the instructions further direct the processor to:

update a memory of the storage controller with information indicating whether each of the assigned storage devices for the logical volume has been initialized.

Assignments (3)
TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENTS Recorded Feb 3, 2017
From: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
To: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
Reel/Frame 041710/0001 →
PATENT SECURITY AGREEMENT Recorded Feb 11, 2016
From: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
To: BANK OF AMERICA, N.A., AS COLLATERAL AGENT
Reel/Frame 037808/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 15, 2015
From: YOSHIOKA, ATSUSHI
To: AVAGO TECHNOLOGIES GENERAL IP (SINGAPORE) PTE. LTD.
Reel/Frame 036798/0639 →