Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c45166be authored by Stephen M. Cameron's avatar Stephen M. Cameron Committed by Christoph Hellwig
Browse files

hpsa: kill annoying messages about SSD Smart Path retries



There's nothing the user can or should do about these messages,
the commands are retried down the normal RAID path, and the
messages just flood the logs and sap performance.

Signed-off-by: default avatarStephen M. Cameron <scameron@beardog.cce.hp.com>
Reviewed-by: default avatarJoe Handzik <joseph.t.handzik@hp.com>
Reviewed-by: default avatarMike Miller <michael.miller@canonical.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent d5b5d964
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -1653,16 +1653,6 @@ static void process_ioaccel2_completion(struct ctlr_info *h,
	if (is_logical_dev_addr_mode(dev->scsi3addr) &&
		c2->error_data.serv_response ==
			IOACCEL2_SERV_RESPONSE_FAILURE) {
		if (c2->error_data.status ==
			IOACCEL2_STATUS_SR_IOACCEL_DISABLED)
			dev_warn(&h->pdev->dev,
				"%s: Path is unavailable, retrying on standard path.\n",
				"HP SSD Smart Path");
		else
			dev_warn(&h->pdev->dev,
				"%s: Error 0x%02x, retrying on standard path.\n",
				"HP SSD Smart Path", c2->error_data.status);

		dev->offload_enabled = 0;
		h->drv_req_rescan = 1;	/* schedule controller for a rescan */
		cmd->result = DID_SOFT_ERROR << 16;