From patchwork Thu Mar 26 16:23:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian King X-Patchwork-Id: 6100841 Return-Path: X-Original-To: patchwork-linux-scsi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B3942BF90F for ; Thu, 26 Mar 2015 16:24:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E8C0C2017E for ; Thu, 26 Mar 2015 16:24:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0DAC92041F for ; Thu, 26 Mar 2015 16:24:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752469AbbCZQYH (ORCPT ); Thu, 26 Mar 2015 12:24:07 -0400 Received: from e35.co.us.ibm.com ([32.97.110.153]:51522 "EHLO e35.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752403AbbCZQYC (ORCPT ); Thu, 26 Mar 2015 12:24:02 -0400 Received: from /spool/local by e35.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 26 Mar 2015 10:24:01 -0600 Received: from d03dlp03.boulder.ibm.com (9.17.202.179) by e35.co.us.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 26 Mar 2015 10:24:00 -0600 Received: from b03cxnp07028.gho.boulder.ibm.com (b03cxnp07028.gho.boulder.ibm.com [9.17.130.15]) by d03dlp03.boulder.ibm.com (Postfix) with ESMTP id 28A6D19D803E for ; Thu, 26 Mar 2015 10:15:06 -0600 (MDT) Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t2QGMFOk35258494 for ; Thu, 26 Mar 2015 09:22:15 -0700 Received: from d03av01.boulder.ibm.com (localhost [127.0.0.1]) by d03av01.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t2QGNwon032173 for ; Thu, 26 Mar 2015 10:23:58 -0600 Received: from localhost.localdomain (sig-9-48-87-234.ibm.com [9.48.87.234]) by d03av01.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t2QGNvgx032081; Thu, 26 Mar 2015 10:23:57 -0600 Message-Id: <201503261623.t2QGNvgx032081@d03av01.boulder.ibm.com> Subject: [PATCH 4/6] ipr: Re-enable write same To: James.Bottomley@HansenPartnership.com Cc: hch@lst.de, linux-scsi@vger.kernel.org, wenxiong@linux.vnet.ibm.com, kreling@linux.vnet.ibm.com, krisman@linux.vnet.ibm.com, brking@linux.vnet.ibm.com From: Brian King Date: Thu, 26 Mar 2015 11:23:56 -0500 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15032616-0013-0000-0000-000009A75FAB Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Re-enable write same support for ipr RAID adapters. Signed-off-by: Brian King Reviewed-by: Wen Xiong Signed-off-by: Brian King Reviewed-by: Daniel Kreling --- drivers/scsi/ipr.c | 1 - 1 file changed, 1 deletion(-) diff -puN drivers/scsi/ipr.c~ipr_write_same drivers/scsi/ipr.c --- linux/drivers/scsi/ipr.c~ipr_write_same 2015-03-12 16:26:04.036892977 -0500 +++ linux-bjking1/drivers/scsi/ipr.c 2015-03-12 16:26:04.044892894 -0500 @@ -6404,7 +6404,6 @@ static struct scsi_host_template driver_ .shost_attrs = ipr_ioa_attrs, .sdev_attrs = ipr_dev_attrs, .proc_name = IPR_NAME, - .no_write_same = 1, .use_blk_tags = 1, };