Message ID | cd740e155ed224cabb6554e87d22cf94855ff6c2.1394532288.git.yangds.fnst@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <ocfs2-devel-bounces@oss.oracle.com> X-Original-To: patchwork-ocfs2-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6219ABF549 for <patchwork-ocfs2-devel@patchwork.kernel.org>; Fri, 28 Mar 2014 21:09:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8A96D2035D for <patchwork-ocfs2-devel@patchwork.kernel.org>; Fri, 28 Mar 2014 21:09:43 +0000 (UTC) Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 87FFB20295 for <patchwork-ocfs2-devel@patchwork.kernel.org>; Fri, 28 Mar 2014 21:09:42 +0000 (UTC) Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s2SL8sjN026839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Mar 2014 21:08:55 GMT Received: from oss.oracle.com (oss-external.oracle.com [137.254.96.51]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s2SL8rRE009082 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Mar 2014 21:08:54 GMT Received: from localhost ([127.0.0.1] helo=oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from <ocfs2-devel-bounces@oss.oracle.com>) id 1WTe1F-0005nB-Pp; Fri, 28 Mar 2014 14:08:53 -0700 Received: from acsinet21.oracle.com ([141.146.126.237]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from <yangds.fnst@cn.fujitsu.com>) id 1WNJgI-00073O-QO for ocfs2-devel@oss.oracle.com; Tue, 11 Mar 2014 03:13:07 -0700 Received: from aserp1020.oracle.com (aserp1020.oracle.com [141.146.126.67]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s2BAD5B0007716 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <ocfs2-devel@oss.oracle.com>; Tue, 11 Mar 2014 10:13:06 GMT Received: from fgwmail5.fujitsu.co.jp (fgwmail5.fujitsu.co.jp [192.51.44.35]) by aserp1020.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s2BAD3RW019794 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ocfs2-devel@oss.oracle.com>; Tue, 11 Mar 2014 10:13:04 GMT Received: from m4.gw.fujitsu.co.jp (unknown [10.0.50.74]) by fgwmail5.fujitsu.co.jp (Postfix) with ESMTP id 8776A3EE1DE for <ocfs2-devel@oss.oracle.com>; Tue, 11 Mar 2014 19:11:18 +0900 (JST) Received: from smail (m4 [127.0.0.1]) by outgoing.m4.gw.fujitsu.co.jp (Postfix) with ESMTP id 72C8445DE53 for <ocfs2-devel@oss.oracle.com>; Tue, 11 Mar 2014 19:11:18 +0900 (JST) Received: from s4.gw.fujitsu.co.jp (s4.gw.nic.fujitsu.com [10.0.50.94]) by m4.gw.fujitsu.co.jp (Postfix) with ESMTP id 5A2CA45DE51 for <ocfs2-devel@oss.oracle.com>; Tue, 11 Mar 2014 19:11:18 +0900 (JST) Received: from s4.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s4.gw.fujitsu.co.jp (Postfix) with ESMTP id 4AEE91DB8043 for <ocfs2-devel@oss.oracle.com>; Tue, 11 Mar 2014 19:11:18 +0900 (JST) Received: from s00.gw.fujitsu.co.jp (s00.gw.nic.fujitsu.com [133.161.11.15]) by s4.gw.fujitsu.co.jp (Postfix) with ESMTP id 836931DB803E for <ocfs2-devel@oss.oracle.com>; Tue, 11 Mar 2014 19:11:17 +0900 (JST) Received: from s00.gw.fujitsu.co.jp (kw-mxio2.gw.nic.fujitsu.com [10.0.237.142]) by s00.gw.fujitsu.co.jp (Postfix) with ESMTP id 6D13C118099; Tue, 11 Mar 2014 19:11:17 +0900 (JST) Received: from fnstmail02.fnst.cn.fujitsu.com (unknown [10.167.129.18]) by s00.gw.fujitsu.co.jp (Postfix) with ESMTP id 4E00A8A003; Tue, 11 Mar 2014 19:11:17 +0900 (JST) Received: from localhost.localdomain ([10.167.226.49]) by fnstmail02.fnst.cn.fujitsu.com (Lotus Domino Release 8.5.3) with ESMTP id 2014031118083426-553818 ; Tue, 11 Mar 2014 18:08:34 +0800 From: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> To: linux-kernel@vger.kernel.org Date: Tue, 11 Mar 2014 18:09:17 +0800 Message-Id: <cd740e155ed224cabb6554e87d22cf94855ff6c2.1394532288.git.yangds.fnst@cn.fujitsu.com> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <cover.1394532288.git.yangds.fnst@cn.fujitsu.com> References: <cover.1394532288.git.yangds.fnst@cn.fujitsu.com> X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2014/03/11 18:08:34, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2014/03/11 18:08:34, Serialize complete at 2014/03/11 18:08:34 X-TM-AS-MML: disable X-TM-AS-Product-Ver: IMSS-7.1.0.1403-7.5.0.1017-20558.004 X-TM-AS-User-Approved-Sender: Yes X-TMASE-MatchedRID: WElXx2UUcMxRcJD3o81+7+uB6VylJvZfQl/FdRYkUZLfUZT83lbkEN6M yUV+2+DZqjitj/qGFJQQCEi5k+nQxB8TzIzimOwP0C1sQRfQzEHEQdG7H66TyHEqm8QYBtMObxJ pqnJBZo0WnL65FoejENtSt5L8DG2k4mYrJnj9KfYAQTVwPinbKxPiRWMXGeC+mRXJkI0tsPhNWV p8VK0hULY/AWl0/nOrgr6lqxbIXlHC3tMwY3ma2xUDj+dgUQVyTE7Co9fKv3w= X-Flow-Control-Info: class=Pass-to-MM reputation=ipRisk-All ip=192.51.44.35 ct-class=T1 ct-vol1=0 ct-vol2=5 ct-vol3=5 ct-risk=10 ct-spam1=0 ct-spam2=0 ct-bulk=97 rcpts=1 size=656 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=4 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1310290000 definitions=main-1403110024 X-Sendmail-CM-Score: 0.00% X-Sendmail-CM-Analysis: v=2.1 cv=aftYw3Yt c=1 sm=1 tr=0 a=9chFV9PQzg6iWEtf/RYnPw==:117 a=9chFV9PQzg6iWEtf/RYnPw==:17 a=eKp6zTxCJy4A:10 a=eRdyabIP3JcA:10 a=d1dGzvcCNPsA:10 a=omOdbC7AAAAA:8 a=yPCof4ZbAAAA:8 a=pGLkceISAAAA:8 a=1zOi_pUdwTvdVMjJl38A:9 a=MSl-tDqOz04A :10 X-Sendmail-CT-RefID: str=0001.0A090201.531EE1B1.0110:SCCMAW4324, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-Sendmail-CT-Classification: not spam X-Proofpoint-ZeroHour: threat=unknown, refid=1B2M2Y8AsgTpgAmY7PhCfg X-Proofpoint-Reputation: rule=pass X-Mailman-Approved-At: Fri, 28 Mar 2014 14:08:49 -0700 Cc: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>, peterz@infradead.org, heiko.carstens@de.ibm.com, joe@perches.com, tglx@linutronix.de, mingo@kernel.org, ocfs2-devel@oss.oracle.com Subject: [Ocfs2-devel] [PATCH 09/17] fs/hearbeat: Replace hardcoding of -20 with MIN_NICE. X-BeenThere: ocfs2-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: <ocfs2-devel.oss.oracle.com> List-Unsubscribe: <https://oss.oracle.com/mailman/listinfo/ocfs2-devel>, <mailto:ocfs2-devel-request@oss.oracle.com?subject=unsubscribe> List-Archive: <http://oss.oracle.com/pipermail/ocfs2-devel> List-Post: <mailto:ocfs2-devel@oss.oracle.com> List-Help: <mailto:ocfs2-devel-request@oss.oracle.com?subject=help> List-Subscribe: <https://oss.oracle.com/mailman/listinfo/ocfs2-devel>, <mailto:ocfs2-devel-request@oss.oracle.com?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ocfs2-devel-bounces@oss.oracle.com Errors-To: ocfs2-devel-bounces@oss.oracle.com X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 |
diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c index bf482df..7303929 100644 --- a/fs/ocfs2/cluster/heartbeat.c +++ b/fs/ocfs2/cluster/heartbeat.c @@ -1107,7 +1107,7 @@ static int o2hb_thread(void *data) mlog(ML_HEARTBEAT|ML_KTHREAD, "hb thread running\n"); - set_user_nice(current, -20); + set_user_nice(current, MIN_NICE); /* Pin node */ o2nm_depend_this_node();
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> cc: ocfs2-devel@oss.oracle.com cc: Dong Fang <yp.fangdong@gmail.com> --- fs/ocfs2/cluster/heartbeat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)