Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp31909ima; Thu, 25 Oct 2018 14:55:33 -0700 (PDT) X-Google-Smtp-Source: AJdET5dxNZ6qVmvvEo6m6C4SAiDxfHVXqOZLh9Xrtm9XogPMZYdlrIbcC4RUxEY4JI2IT2E0Ss/y X-Received: by 2002:a17:902:2808:: with SMTP id e8-v6mr807186plb.327.1540504533088; Thu, 25 Oct 2018 14:55:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540504533; cv=none; d=google.com; s=arc-20160816; b=Tk4GCZHESuHH00sdJzaH6ZMYgdlc+lXXmJ1VC2Z+TgKNGEFr7++ynfgp9br1mr6rqh tUZPVzc1BrlT6re01gzXaNScGlVdz8aCFbQZSoevd19lCH1pucK+SUI9HJ1PuVVq70wq DhEi0BXQ7ENWhHIMpP8HryWvNkxmjpBjI9RmNRbbdY6vI3jxjH2QbAcT9ZPbGo2YwAaG IvXc/myyOanlvXtcsp50F9d2y/ArLaij+9rv488L7mfqN8xdb6N6mP2eSwRlt7vw2DL9 oDtPyKuPs0P0TZJpw0pTniQ8ssDAQpbfNTEiZARmnS75UrvA7deTno5cylC08jC3rwTx vgLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=BheX/3R5EEAFrEdbLEzkEl0m3ITpDsbvQlTdCcYYqUA=; b=cNi4LVNp1PBgLrQFHsTlN22vcf3hOcrX1hOPNHVzcPQnX3fvBX3PHzPepBCP9fpOOk rGZ+y1OHGtc43YeBeC/co4Qt7gUVWVqQ+mkOV+iui835xniChZlk91ptR3ManF3rNBYf y08nNDBHCOj3yYrBQXUadJ0icOdL5+g19Jkp5SDB24IP6Aob6I59Qt0byN2VQUvjPg+k 21FnqqVqK534r5+vuelBlpXPEV8gCHHb0M739a/DzUAmBEfGTLyMhZZLVy9+Cb+bq3xH 4By/X799nYaTishsNN4SyyRv2Ln/b9Hgl6R6ICsL+Wf61SqotblJ46kT5lI2Dj5E2ch4 Pxpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y62-v6si9096132pfy.139.2018.10.25.14.55.16; Thu, 25 Oct 2018 14:55:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727666AbeJZG2y (ORCPT + 99 others); Fri, 26 Oct 2018 02:28:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59078 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727567AbeJZG2x (ORCPT ); Fri, 26 Oct 2018 02:28:53 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 999267F6B2; Thu, 25 Oct 2018 21:54:29 +0000 (UTC) Received: from asgard.redhat.com (ovpn-200-21.brq.redhat.com [10.40.200.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 408415DD6C; Thu, 25 Oct 2018 21:54:26 +0000 (UTC) Date: Thu, 25 Oct 2018 23:54:52 +0200 From: Eugene Syromiatnikov To: linux-kernel@vger.kernel.org Cc: Alexander Viro , Jeff Layton , "J. Bruce Fields" , Greg Kroah-Hartman , Ingo Molnar , Shaohua Li , Jens Axboe , linux-raid@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH RESEND 2/2] drivers/md/raid5.c: use the new spelling of RWH_WRITE_LIFE_NOT_SET Message-ID: References: <8acaf8d7-17c9-e8ec-c60a-18a011b4c34f@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 25 Oct 2018 21:54:29 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As it is consistent with prefixes of other write life time hints. Signed-off-by: Eugene Syromiatnikov Signed-off-by: Eugene Syromyatnikov --- drivers/md/raid5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index e4e98f4..0bcfbd3 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -1139,7 +1139,7 @@ static void ops_run_io(struct stripe_head *sh, struct stripe_head_state *s) bi->bi_iter.bi_size = STRIPE_SIZE; bi->bi_write_hint = sh->dev[i].write_hint; if (!rrdev) - sh->dev[i].write_hint = RWF_WRITE_LIFE_NOT_SET; + sh->dev[i].write_hint = RWH_WRITE_LIFE_NOT_SET; /* * If this is discard request, set bi_vcnt 0. We don't * want to confuse SCSI because SCSI will replace payload @@ -1192,7 +1192,7 @@ static void ops_run_io(struct stripe_head *sh, struct stripe_head_state *s) rbi->bi_io_vec[0].bv_offset = 0; rbi->bi_iter.bi_size = STRIPE_SIZE; rbi->bi_write_hint = sh->dev[i].write_hint; - sh->dev[i].write_hint = RWF_WRITE_LIFE_NOT_SET; + sh->dev[i].write_hint = RWH_WRITE_LIFE_NOT_SET; /* * If this is discard request, set bi_vcnt 0. We don't * want to confuse SCSI because SCSI will replace payload -- 2.1.4