From patchwork Thu Jun 4 18:36:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Perches X-Patchwork-Id: 6549111 Return-Path: X-Original-To: patchwork-linux-pm@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 70158C0020 for ; Thu, 4 Jun 2015 18:43:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 96E68207B6 for ; Thu, 4 Jun 2015 18:43:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C8F9120798 for ; Thu, 4 Jun 2015 18:43:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753808AbbFDSnn (ORCPT ); Thu, 4 Jun 2015 14:43:43 -0400 Received: from smtprelay0095.hostedemail.com ([216.40.44.95]:54286 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751632AbbFDSnn (ORCPT ); Thu, 4 Jun 2015 14:43:43 -0400 Received: from smtprelay.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by smtpgrave08.hostedemail.com (Postfix) with ESMTP id 9A7722131B0 for ; Thu, 4 Jun 2015 18:36:59 +0000 (UTC) Received: from filter.hostedemail.com (unknown [216.40.38.60]) by smtprelay05.hostedemail.com (Postfix) with ESMTP id 614E22691BF; Thu, 4 Jun 2015 18:36:58 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2, 0, 0, , d41d8cd98f00b204, joe@perches.com, :::::::::, RULES_HIT:41:355:379:541:800:960:966:973:988:989:1260:1345:1359:1437:1534:1540:1711:1714:1730:1747:1777:1792:2196:2199:2393:2559:2562:3138:3139:3140:3141:3142:3350:3865:3867:3872:4321:4385:5007:6117:6261:7903:10004:10848:11658:11914:12048:12517:12519:12555:13181:13229:13311:13357:14394:21080:21088, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:none, Custom_rules:0:0:0 X-HE-Tag: farm94_288003bf9a5b X-Filterd-Recvd-Size: 1625 Received: from joe-laptop.perches.com (pool-173-51-221-2.lsanca.fios.verizon.net [173.51.221.2]) (Authenticated sender: joe@perches.com) by omf07.hostedemail.com (Postfix) with ESMTPA; Thu, 4 Jun 2015 18:36:57 +0000 (UTC) From: Joe Perches To: linux-pm@vger.kernel.org, "Rafael J. Wysocki" , Len Brown , Pavel Machek Cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/6] power: hibernate: Use separate messages for "Syncing filesystems" Date: Thu, 4 Jun 2015 11:36:44 -0700 Message-Id: <1664a8ea72b34db4bef860004166875ab70898ee.1433442778.git.joe@perches.com> X-Mailer: git-send-email 2.1.2 In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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=ham 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 Add the ability to see how long it takes to sync the filesystems via the printk time mechanism. Start to standardize the printk "PM: doing something...done" messages on two separate lines. Signed-off-by: Joe Perches --- kernel/power/hibernate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index 2329daa..2466d78 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c @@ -663,9 +663,9 @@ int hibernate(void) if (error) goto Exit; - printk(KERN_INFO "PM: Syncing filesystems ... "); + printk(KERN_INFO "PM: Syncing filesystems ...\n"); sys_sync(); - printk("done.\n"); + printk(KERN_INFO "PM: Syncing filesystems: done\n"); error = freeze_processes(); if (error)