Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756818AbcJMT5w (ORCPT ); Thu, 13 Oct 2016 15:57:52 -0400 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:24566 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754592AbcJMT5Q (ORCPT ); Thu, 13 Oct 2016 15:57:16 -0400 X-IronPort-AV: E=Sophos;i="5.31,489,1473091200"; d="scan'208";a="25155216" Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Adam.Manzanares@wdc.com; From: Adam Manzanares To: , , , , , , , , , , CC: , , , , , Adam Manzanares , Adam Manzanares Subject: [PATCH v4 2/4] fusion: remove iopriority handling Date: Thu, 13 Oct 2016 12:53:51 -0700 Message-ID: <1476388433-2539-3-git-send-email-adam.manzanares@hgst.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1476388433-2539-1-git-send-email-adam.manzanares@hgst.com> References: <1476388433-2539-1-git-send-email-adam.manzanares@hgst.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [199.255.44.173] X-ClientProxiedBy: CY1PR21CA0075.namprd21.prod.outlook.com (10.163.250.171) To BLUPR0401MB1715.namprd04.prod.outlook.com (10.162.215.17) X-MS-Office365-Filtering-Correlation-Id: 151f8c98-6fcb-4b6d-83ff-08d3f3a2b2c7 X-Microsoft-Exchange-Diagnostics: 1;BLUPR0401MB1715;2:Wyv9GEg4vr73ip+53Utx4voNVtMBGrqZ8XG0+miAy2aeFjuDLW1svIxee6pBmTGR9szEDV61tNCiIFYPrK5btc060ccWZDoLvsssmnMWIkVb9BMtFNyGec+9e2mnJFugzUs+tOxjs2Vs/S4pgfQwQPMfI6MT40jb7w3wfMLzVyi5oPoMHOXdyTblh/d9tbe/p6pl5TII6v6Yx6qh1eqIrQ==;3:H02I1j27rVu/+YOgN/Gzy4JHjTCKtA4zyYSqHOkXMA7Zqzt136V4fNhpYy6gVl98tvoS6lTJ2rFahfbFzsuCGEM2ZYoTKjw9RDSYG779wWZ/NPdKSmZ8vy2h6evzinXrYFH4Kr+bPJODcpR0NmilXA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0401MB1715; X-Microsoft-Exchange-Diagnostics: 1;BLUPR0401MB1715;25:BAdirOcIVKfmKxWNn+l0HpBOoiadSgn+gaxs0PU5X6+m5HyGzxBR/aQ0hTFyYIM7KAeUCQQdGa8b3xmjVMB+lMOZq4POXDUexe1omiDLhp6QrGce3eu3f7nRaAqFR2IQwvbKwJsJiGAT9DiQgsM3W6JGEVbJiqgrnbrf80m8Cyh0LpM8upsLVniTBs19ltlmSblryGU28VzWoLcssRc/4nFGO/XFStAwSGjsNOtGj+eIdVDK6OmHlQZrNyre6Wy7dwpcvT7LQ/R/2dm4WhS1IaIHZCVirFeFjwXTnGXr/pJ+oU8tEE7YchRtU9pe7MRMARfR1zxS6jthXB3VR8DVsWMM8OAFETUOwVgSuI66e0con8YrZhCOtahyQUFQE/MegwpXiwsC/xkyyAjUFywjraOGl/deRJp6nMM16F9sCAKSk0aJdMdgqTZC3GXC7eF3r4aRa8ZG0so2U2PnFxiubW684PjhPT/UcDz3hGrg5g0mSljjNiK/Vdrb2MdepB2glFX/vTI0YFsEpg1yyMJ3tOOmyrZDX+KlZ7tOG2y/RP7WwbqwgsCeU0zbffGzq8V1VVjNaowZB09T3fInBh7AdyYzV4l46UJ6WNpXFnPgFYkCY2hKN6tcj+hOaThhvdmdbD7+BOBQAMg0hsKrpj6HoEmpWWyS2s8GKBEniYlMCylDMutGUeoTl8DxsL1GN8X0Qb57P2VgZDYdb1KoJPZgGw== X-Microsoft-Exchange-Diagnostics: 1;BLUPR0401MB1715;31:QbPba5N1b2wsJdF9qskj41hDUvtr7kmySz6f8RgAi0oYsWjjh6G0D73hqqaaSUFQrkBFMTuvwoWpkcBeC+iU3nG+KawFnlngg84bUYYYVTVAs+c8VpEf4r6Snsinw/roNSnrExyDWxoAhfrmbMkjQOvAb6yjzULQyxQs67y2ej4JnLVlMoV4DPVQTR4Gk+auoigbiVb1XeDUY22In7myLZNdVnrETupSGuWoJDaafBR219vY0FUSRYMvG/igHJsWdF/6NcDERA4dBHhuVX75vg==;20:WIaJ0yS9zmfg92+mQqK2Y8qE56vCciDfd9ZAHiWYAKDPgSlBxa4zoj6LK7L/nReUt8p7fULqusWnmCS2rLELUwqLH1gnJTcOT3AFlxncAoKsUmDFMjeTp4mKHjrXvU0KPpY07AbeQNalMJKtIYe3hD+jBKeaD/RD3BDS/gF7tCp7Yz7YF1If54EAru0hKQQHwvWKM9iGiqSU+AEbit4Ooqlh0GElfbscjjBR+lwj402ryxBkxB/9L5zJfZYmeCjALGDYUNZOCaVGg+yGbIKdHCY4SeE8dIRrCsqpmvm/ikMS5g8mETZSSREqKeeGbHNzlquVsvxUII86QhC/Y04HaPU7x9fJ+VGEw7qVqmWRJQTQpeLuhcDD9nxrdSjMEYVVXFM5CZqNugBmS3OBPte8eLfrkbUrcfKSWtMWvqPVgdbwNa0mEQ4jZDs5fPityj9EHeP7KdBssagA08MztW/QjNt6jFMQPAMGoNgZQ82MShoD+iLhPcNkLGxw48TNXjTN X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026);SRVR:BLUPR0401MB1715;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0401MB1715; X-Microsoft-Exchange-Diagnostics: 1;BLUPR0401MB1715;4:9BNbwNqVb7BL7ws+E0IlpLSBYawYXOECZOAeat5Q813CX47/Se1iWvceRxybRsDGrLIUfTen+Jd6OYyHN3WVpcmYJlO+Wev4yVveoOky611cHG2qYhU5LSW5qp3MSwxMk0dUhRmJoD8MqYFRvDo+A07vPDYJBFZ8Ld+KH6Do6GzfK7O0OcbitxO5aU7miGg0PgQVYw6FEnLXpzTuHS3sGtXRLp0Ye2o2InZEhl6HuICuBXY+9nwWvOQdAup/oqjii6DmRRSNsPHkiufBeT5tti+5JtOugt7VckYCKSLzgoyv3mCGzTA6gDOC3MEaOpax1u33QJoZncOIR/fhmo4O/fis4ssahqJD/OdEvnz9DXyOFpTxfNfEbqPBAHwe3y6IFCnarUIkPQ2NYIYlU7Tj+NZIzGsKca9OuikHwqfMP0Q= X-Forefront-PRVS: 0094E3478A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(7916002)(189002)(199003)(105586002)(189998001)(50466002)(36756003)(101416001)(42186005)(92566002)(6666003)(42882006)(2950100002)(4326007)(33646002)(19580395003)(2906002)(19580405001)(2201001)(68736007)(5660300001)(50986999)(48376002)(76176999)(229853001)(50226002)(6116002)(3846002)(81166006)(81156014)(305945005)(47776003)(5003940100001)(77096005)(7736002)(7416002)(5001770100001)(7846002)(586003)(8676002)(97736004)(106356001)(66066001)(7099028)(921003)(83996005)(2101003)(1121003);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR0401MB1715;H:penguito.sanjose.hgst.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR0401MB1715;23:WGWOce2Bmlt2wXkngoCrAg9G7uUWxYqA561qKtA?= =?us-ascii?Q?SvAxBDNa+61JjGXJQe4lgjdvlUKjUnRFYBtppSW5teh62498GIzykVxprZ7w?= =?us-ascii?Q?gIcrw3TOPwXpWusIIpHz5V8AIOYBHvyCQa7aN+0UNWnt9wavsKgKGPBAGt65?= =?us-ascii?Q?rweZY+si38/8dqoKYtL4Nz6/U8/JZyCDCFwlK1NUDeYeGqiZcOdyReDCJN0d?= =?us-ascii?Q?Z+Ob/rnXuKIkSf534Mfu5u8RMW2Wkf9ayEplp1gURmDC9STvky6oHS+CIQdp?= =?us-ascii?Q?rIlUBw7OnzMTVQDIGUHLTKbjGNsVSxwnA7i/a+C0JJ0EkTY8L2U2kxNYAgpz?= =?us-ascii?Q?7qCfgUxGgpJuqw2Ultmjavb5Zuyz96yuNCyttUknxE5e1p61XXZFMoXVJgfv?= =?us-ascii?Q?KyBHLcUtIcBW1q//0pT7GkfpvF1oAi4WCjxuvxwiKChoTcRJ4KXiIbzQ/yeK?= =?us-ascii?Q?d4/GqPZwFOwna+CvT+mXrHHxP396twtPbE1wPdOBQ5s19WwaO62DHJ8wy7tG?= =?us-ascii?Q?UKqjARlxHgqBal/trRFL47DV2mS5x6O2jisyNL4C5qALjjq+LEmxghyRTdrT?= =?us-ascii?Q?gw7710apAT5tjxgKiflLqdiVhExVArMz08tUvtJYzz+338MWKyDN6pgaOT8h?= =?us-ascii?Q?mpJ5U9h+V9NgGdWkgEjzupJoiop/XhCFtug/nQh8P7FLkFN6a+itxbj5sYnU?= =?us-ascii?Q?AGCUmdXnpG77xmJhOkf/i1fuBRfGM8zXUBqf6W0OJL5kY40xb1BwYzbfnjse?= =?us-ascii?Q?W50qVcI0J9UUiyKX1jcTjYjWFrWVErmosxUkcHMxrZT4Z7erFKCrDszgkTwc?= =?us-ascii?Q?P2STsmIG8P7U/AxEdxsBh5fF620850Wfr602y4yY91qPuDDS3NQXU93RcrUH?= =?us-ascii?Q?F1t8cHMxpB6rI3RLZoi2nS5ikhNJd77kImJEVNjfBBweOmiu3DxEC/Cs1QJ5?= =?us-ascii?Q?Chuj9ZvHyHimo7eknRKH6pUGOeYdNFpl9rCgNuTUh2+HU4A94LAtp/QRFwku?= =?us-ascii?Q?QHxuHwQzhrKftEOmG/Ny8aGKY4T9+6L+uF/MTjhsS27yRwR/ct73qH+3KqfI?= =?us-ascii?Q?yuJFnioCmOOV59wJFePyrcQAA4rPGCOufph97MuBCSMIQCMq/FdLzwHMEUhQ?= =?us-ascii?Q?MkzjVof0kPebHTt4aFjSlBEKZqisivkDx2ykXGqx8GDAIryyZZL2PdGIY6KT?= =?us-ascii?Q?kG9duNTTi4BKbbLiqzZOKZQsVflVeUZuItRcx?= X-Microsoft-Exchange-Diagnostics: 1;BLUPR0401MB1715;6:47WS6J6+C6beivGo4wxYWQ5Hb3uwslHJV+jS+hBWHkEvQjLIp7lxN1+3EC+H5IwbqJzYX4Hjwq7XwvohCAIKK3fyuFUur0JIyU4nd6zu/oxKRRPmYYwEgwmw1i1GcxBuBz4fiBeJvP2PMVD6Q9iUKAxAzJTKrhThEMf7NYQR6oc7IvRgl43w4OnF3t1uDa+p3JjycLKc+B8CkPJLLXTovXX3vPPAkt+hxWaU3ytIKjDXNG3A7/GmpRA67rHwHEIJK121Hoo2fIRklVtR3/O4raYVVuhoXVju2c/sgNymSHOY1DfNO7ByDJpWLgfke8rAZ9Mj3bWmhx7ljqi80pW3pA8/TdD216yai+yqqNzMHC4=;5:vup5kSQcZz5fipOnZYOWllJoG//YB+AfXGCygar3sF2gCPF6l129uauhxDvkxc3L8JPA00jYM3Lkod+0yVS/upFWs3zn419BdNHjUREPi20W6OhFeqwVIaUKdOwt8jOCsZZhqecYeTZU1oLEK86ThPdjN9vVKxxjRna7Hphs1q8=;24:hexPQtgLKKm8ygZ4WEhOo48YdmCdYYxPSOW18aiovzbs+5AU7id6qaEunR6BL8z/W9xT2fnhO/Wq8LSOqshwLnCV41LaGaxx9rk3l3QXY7k= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BLUPR0401MB1715;7:BJm7LggAhJ2N9/GP8zOTEieq3JLPVsAKpowSpU+T2F/Ksn7osp7dWKHBJLYHrVbiy/ZZEu+GrWTf3cdNGAYnddsBDlywfUlmfX1O32vz5FnPHjftdQmrVJxeumeXd3/fePJYCfoJplCp204VRa4M7ub0lrjqpZ13WaPvwwm21qF3jGF/d/3x21+WbdaOkR5YInTtID+ty6g0uHyiJKRGKg2VY2dBug5kXopUHRAm3x7n7CyBsNf9Xf+ydNqEPR4TnTrVfChqasat+srFG5mK7wp6pYql322f4B14oJQ+vl+vkwCofktGR2+ORiwnBM0idXaEFJ8IouI7ibTrIUuEK77RBi0BlFtKdmA3tYtcEI0=;20:NzMWLOLV0p4VDhK7pwen1ihfLCZje+h5qt9hPby8NAMflXyxcbtOzkleJ7Y2oHr3FT63KW3B7TXrkgZICQVBKrLuF4kCs0K0/3BF2f0+z4O0fY0Z8Jj5ovEGe36eYPDs6EhLCZ0EJIxdR1KZ426BEvqcoQtvK6PDpgh7j2S9XYSGI3norQQa5G6Q001sniMsrHRaeZhsyO6glZIblKFdA60hUGWlKsPlZlqJMsctiX85g/4H6Joa+9Jqcs0jYz/+ X-OriginatorOrg: hgst.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2016 19:54:08.3261 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0401MB1715 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1075 Lines: 28 The request priority is now by default coming from the ioc. It was not clear what this code was trying to do based upon the iopriority class or data. The driver should check that a device supports priorities and use them according to the specificiations of ioprio. Signed-off-by: Adam Manzanares --- drivers/message/fusion/mptscsih.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c index 6c9fc11..4740bb6 100644 --- a/drivers/message/fusion/mptscsih.c +++ b/drivers/message/fusion/mptscsih.c @@ -1369,11 +1369,6 @@ mptscsih_qcmd(struct scsi_cmnd *SCpnt) if ((vdevice->vtarget->tflags & MPT_TARGET_FLAGS_Q_YES) && (SCpnt->device->tagged_supported)) { scsictl = scsidir | MPI_SCSIIO_CONTROL_SIMPLEQ; - if (SCpnt->request && SCpnt->request->ioprio) { - if (((SCpnt->request->ioprio & 0x7) == 1) || - !(SCpnt->request->ioprio & 0x7)) - scsictl |= MPI_SCSIIO_CONTROL_HEADOFQ; - } } else scsictl = scsidir | MPI_SCSIIO_CONTROL_UNTAGGED; -- 2.1.4