* [PATCH] hpsa: fix volume offline state
@ 2017-03-20 15:42 Tomas Henzl
2017-03-20 16:15 ` Don Brace
2017-03-23 14:13 ` Martin K. Petersen
0 siblings, 2 replies; 3+ messages in thread
From: Tomas Henzl @ 2017-03-20 15:42 UTC (permalink / raw)
To: linux-scsi; +Cc: don.brace, joseph.szczypek
In a previous patch a hpsa_scsi_dev_t.volume_offline update line
has been removed, so let us put it back..
Fixes: 85b29008d8 (hpsa: update check for logical volume status)
Signed-off-by: Tomas Henzl <thenzl@redhat.com>
---
drivers/scsi/hpsa.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 0d0be7754a..9d659aaace 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -3885,6 +3885,7 @@ static int hpsa_update_device_info(struct ctlr_info *h,
if (h->fw_support & MISC_FW_RAID_OFFLOAD_BASIC)
hpsa_get_ioaccel_status(h, scsi3addr, this_device);
volume_offline = hpsa_volume_offline(h, scsi3addr);
+ this_device->volume_offline = volume_offline;
if (volume_offline == HPSA_LV_FAILED) {
rc = HPSA_LV_FAILED;
dev_err(&h->pdev->dev,
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH] hpsa: fix volume offline state
2017-03-20 15:42 [PATCH] hpsa: fix volume offline state Tomas Henzl
@ 2017-03-20 16:15 ` Don Brace
2017-03-23 14:13 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Don Brace @ 2017-03-20 16:15 UTC (permalink / raw)
To: Tomas Henzl, linux-scsi@vger.kernel.org; +Cc: joseph.szczypek@hpe.com
> -----Original Message-----
> From: Tomas Henzl [mailto:thenzl@redhat.com]
> Sent: Monday, March 20, 2017 10:43 AM
> To: linux-scsi@vger.kernel.org
> Cc: Don Brace <don.brace@microsemi.com>; joseph.szczypek@hpe.com
> Subject: [PATCH] hpsa: fix volume offline state
>
> EXTERNAL EMAIL
>
>
> In a previous patch a hpsa_scsi_dev_t.volume_offline update line
> has been removed, so let us put it back..
>
> Fixes: 85b29008d8 (hpsa: update check for logical volume status)
>
> Signed-off-by: Tomas Henzl <thenzl@redhat.com>
> ---
> drivers/scsi/hpsa.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
> index 0d0be7754a..9d659aaace 100644
> --- a/drivers/scsi/hpsa.c
> +++ b/drivers/scsi/hpsa.c
> @@ -3885,6 +3885,7 @@ static int hpsa_update_device_info(struct
> ctlr_info *h,
> if (h->fw_support & MISC_FW_RAID_OFFLOAD_BASIC)
> hpsa_get_ioaccel_status(h, scsi3addr, this_device);
> volume_offline = hpsa_volume_offline(h, scsi3addr);
> + this_device->volume_offline = volume_offline;
> if (volume_offline == HPSA_LV_FAILED) {
> rc = HPSA_LV_FAILED;
> dev_err(&h->pdev->dev,
> --
> 2.7.4
Acked-by: Don Brace <don.brace@microsemi.com>
Thanks Tomas.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] hpsa: fix volume offline state
2017-03-20 15:42 [PATCH] hpsa: fix volume offline state Tomas Henzl
2017-03-20 16:15 ` Don Brace
@ 2017-03-23 14:13 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2017-03-23 14:13 UTC (permalink / raw)
To: Tomas Henzl; +Cc: linux-scsi, don.brace, joseph.szczypek
Tomas Henzl <thenzl@redhat.com> writes:
> In a previous patch a hpsa_scsi_dev_t.volume_offline update line
> has been removed, so let us put it back..
>
> Fixes: 85b29008d8 (hpsa: update check for logical volume status)
Applied to 4.11/scsi-fixes.
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-03-23 14:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-20 15:42 [PATCH] hpsa: fix volume offline state Tomas Henzl
2017-03-20 16:15 ` Don Brace
2017-03-23 14:13 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).