From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D064CEB64D9 for ; Thu, 15 Jun 2023 06:58:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243854AbjFOG6p (ORCPT ); Thu, 15 Jun 2023 02:58:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244175AbjFOG6c (ORCPT ); Thu, 15 Jun 2023 02:58:32 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 215DC1BC3; Wed, 14 Jun 2023 23:58:31 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id CF6FC2237E; Thu, 15 Jun 2023 06:58:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1686812309; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Y8PaiWuGVa7qBKw/cPr3Zw8t3nsZlEBK2QyYgYoM47k=; b=TBUEdgQOPBHvGO5fyqAc3kJIno/g8q6u8YX3KNFgUWzEBtf20o7tO0qwJ828BzM1vQ7FTR 1yYKo2C923tphhMeImL2TXbDT+lTntyyMn93TZGxESxnm/pL//z0b2S3BmFFSYNEAnTHtm 2SIhDeYjsx2GmfvvDqsfGg4upmlR0EM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1686812309; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Y8PaiWuGVa7qBKw/cPr3Zw8t3nsZlEBK2QyYgYoM47k=; b=LfNcDrezA2hLvVbNcrB0NgNH2AGBsr9EBOp/PhTDidQ/2WjT/T2SXGXPzutWVRcWFVOgkS fE5G7JbKWvfSWtBw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id AD5ED13467; Thu, 15 Jun 2023 06:58:29 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id L2RRKZW2imSQfwAAMHmgww (envelope-from ); Thu, 15 Jun 2023 06:58:29 +0000 Message-ID: <74a8d8f8-f996-fe78-6866-04fda7312d2c@suse.de> Date: Thu, 15 Jun 2023 08:58:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 03/11] md-bitmap: use %pD to print the file name in md_bitmap_file_kick Content-Language: en-US To: Christoph Hellwig , Song Liu Cc: linux-raid@vger.kernel.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org References: <20230615064840.629492-1-hch@lst.de> <20230615064840.629492-4-hch@lst.de> From: Hannes Reinecke In-Reply-To: <20230615064840.629492-4-hch@lst.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On 6/15/23 08:48, Christoph Hellwig wrote: > Don't bother allocating an extra buffer in the I/O failure handler and > instead use the printk built-in format to print the last 4 path name > components. > > Signed-off-by: Christoph Hellwig > --- > drivers/md/md-bitmap.c | 12 ++---------- > 1 file changed, 2 insertions(+), 10 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman