Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4107336rdb; Mon, 11 Dec 2023 09:02:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHp6dVmS7nH1ut6yFjJ1ADqn90X1OASLvQ/ZkgHrpRnMZjdlSxOYQCJ+P6UrSQmRH04fLSb X-Received: by 2002:a17:90a:1bcf:b0:286:9209:9e5e with SMTP id r15-20020a17090a1bcf00b0028692099e5emr1917374pjr.62.1702314145306; Mon, 11 Dec 2023 09:02:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702314145; cv=none; d=google.com; s=arc-20160816; b=p5WQ5KF774+H3+mWmnMXbiEmxBZRAy0iIN2JC5ehM6kewIgOQbjZTOpcTRM9FSSx0Z 90qKcyagjMnFgvgqQVIdAWCkgHkR44QNsYnRCHc3bFNjxCRJWM12OkgYldsDTXFCVJWq KRhPseu/hd5qhMRJfpl2yPfmE6zm9YFFfBQ/Xr2PwBRp2WZExKNk4kf+7XqfAVrkGepO 2AoAJk2xk3RAkpZvvPYjMluByzXtDEzr7kwVo+SGWaUhaPA/5+xICv9Wz72JbCzYONoE +ukL53hCextCecZfgPnYnbfhchLa1bukg5mF3QQLmgdTdkxE70UpjNyA6f9g53jfgW8V fthg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature:dkim-signature :dkim-signature; bh=PJTtFSWYty5rD2FaJe1sSOro2wxy5ZiVyedBxngtDfE=; fh=MeUUOj2j+iy27Ff8NnB29oTRl/j/84R5JYZt8JRFf0g=; b=gOAOmHsqbPWJyMfzbptI+2MVVnJt1yl021kCFViVt8S9thIWm7UhSYqps116s4cC3u RKUdGMpKmEVH52YBJ3nkMDS2TTJWL5nN/I5CujRQ60fJ7JtP++53b4hxvYzEyMmdYv+6 V5+CLNwAvU5K04srLNemqjx+o8L50baAZj95fY1aJLWC9KQ8q5SSYBvdXfeqss3XPQ9f pR5DnUEB8KXoGo3GmXRkuGAi+n6r7fWyp5p9Zt5Z6KFH6tSpYrvl4AqxyCUFV44ACmSB hklauaKpr/zzZGXwcRl1zBUDl11+0/8BusFbrYzSiYKg17tJiBXBkcvwQAbUhe+Xkno5 TgNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=BZxkpRai; dkim=neutral (no key) header.i=@suse.cz header.b=O90m8eEv; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=BZxkpRai; dkim=neutral (no key) header.i=@suse.cz header.b=O90m8eEv; spf=pass (google.com: domain of linux-ext4+bounces-379-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-ext4+bounces-379-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o19-20020a17090ac71300b0028a3ff7f619si5270047pjt.86.2023.12.11.09.02.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 09:02:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4+bounces-379-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=BZxkpRai; dkim=neutral (no key) header.i=@suse.cz header.b=O90m8eEv; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=BZxkpRai; dkim=neutral (no key) header.i=@suse.cz header.b=O90m8eEv; spf=pass (google.com: domain of linux-ext4+bounces-379-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-ext4+bounces-379-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EEFCD281A21 for ; Mon, 11 Dec 2023 17:02:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 179824D592; Mon, 11 Dec 2023 17:02:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="BZxkpRai"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="O90m8eEv"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="BZxkpRai"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="O90m8eEv" X-Original-To: linux-ext4@vger.kernel.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2a07:de40:b251:101:10:150:64:1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD40A8E; Mon, 11 Dec 2023 09:02:07 -0800 (PST) Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 0C498220C2; Mon, 11 Dec 2023 17:02:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1702314126; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PJTtFSWYty5rD2FaJe1sSOro2wxy5ZiVyedBxngtDfE=; b=BZxkpRai1ts2vNxggOB/v7gk2nFpyWllZj6onJ3Dt3DyV4dK7SJ0NrUdxxh3X5Z9WGTt6y LgObJv5hMlf6wrFSK29DFgotj76K8SY40h9VkgCncZW8AXiH6J728E3hbPThcRFSX/ChCf XAMYs+fHlCQ980tXDKIpcF4+GU5v7d4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1702314126; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PJTtFSWYty5rD2FaJe1sSOro2wxy5ZiVyedBxngtDfE=; b=O90m8eEv67V1f7UQSuk3DTjKjeKk5FSTuqcYlJgLj+a2JH9D3Hl9xBcqww9wVkxTE8nKAg pQ2LJOMEzVb/m4AA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1702314126; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PJTtFSWYty5rD2FaJe1sSOro2wxy5ZiVyedBxngtDfE=; b=BZxkpRai1ts2vNxggOB/v7gk2nFpyWllZj6onJ3Dt3DyV4dK7SJ0NrUdxxh3X5Z9WGTt6y LgObJv5hMlf6wrFSK29DFgotj76K8SY40h9VkgCncZW8AXiH6J728E3hbPThcRFSX/ChCf XAMYs+fHlCQ980tXDKIpcF4+GU5v7d4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1702314126; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=PJTtFSWYty5rD2FaJe1sSOro2wxy5ZiVyedBxngtDfE=; b=O90m8eEv67V1f7UQSuk3DTjKjeKk5FSTuqcYlJgLj+a2JH9D3Hl9xBcqww9wVkxTE8nKAg pQ2LJOMEzVb/m4AA== Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id DE24D134B0; Mon, 11 Dec 2023 17:02:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id 4aw2No1Ad2WVFwAAn2gu4w (envelope-from ); Mon, 11 Dec 2023 17:02:05 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 75B40A07E3; Mon, 11 Dec 2023 18:02:01 +0100 (CET) Date: Mon, 11 Dec 2023 18:02:01 +0100 From: Jan Kara To: Yu Kuai Cc: axboe@kernel.dk, roger.pau@citrix.com, colyli@suse.de, kent.overstreet@gmail.com, joern@lazybastard.org, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, sth@linux.ibm.com, hoeppner@linux.ibm.com, hca@linux.ibm.com, gor@linux.ibm.com, agordeev@linux.ibm.com, jejb@linux.ibm.com, martin.petersen@oracle.com, clm@fb.com, josef@toxicpanda.com, dsterba@suse.com, viro@zeniv.linux.org.uk, brauner@kernel.org, nico@fluxnic.net, xiang@kernel.org, chao@kernel.org, tytso@mit.edu, adilger.kernel@dilger.ca, agruenba@redhat.com, jack@suse.com, konishi.ryusuke@gmail.com, willy@infradead.org, akpm@linux-foundation.org, p.raghav@samsung.com, hare@suse.de, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, linux-bcache@vger.kernel.org, linux-mtd@lists.infradead.org, linux-s390@vger.kernel.org, linux-scsi@vger.kernel.org, linux-bcachefs@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-erofs@lists.ozlabs.org, linux-ext4@vger.kernel.org, gfs2@lists.linux.dev, linux-nilfs@vger.kernel.org, yukuai3@huawei.com, yi.zhang@huawei.com, yangerkun@huawei.com Subject: Re: [PATCH RFC v2 for-6.8/block 18/18] ext4: use bdev apis Message-ID: <20231211170201.ygdxtjm7y2jliev5@quack3> References: <20231211140552.973290-1-yukuai1@huaweicloud.com> <20231211140839.976021-1-yukuai1@huaweicloud.com> Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231211140839.976021-1-yukuai1@huaweicloud.com> X-Spam-Score: 12.98 X-Spamd-Bar: +++ Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=BZxkpRai; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=O90m8eEv; dmarc=none; spf=softfail (smtp-out1.suse.de: 2a07:de40:b281:104:10:150:64:98 is neither permitted nor denied by domain of jack@suse.cz) smtp.mailfrom=jack@suse.cz X-Rspamd-Server: rspamd2 X-Spamd-Result: default: False [3.34 / 50.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:98:from]; TO_DN_SOME(0.00)[]; R_SPF_SOFTFAIL(4.60)[~all]; R_RATELIMIT(0.00)[to_ip_from(RLa8hd5fybgmzcyr9mhbq8ey7y)]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[suse.cz:+]; MX_GOOD(-0.01)[]; RCPT_COUNT_GT_50(0.00)[50]; NEURAL_HAM_SHORT(-0.19)[-0.957]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; BAYES_HAM(-2.96)[99.82%]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(1.20)[suse.cz]; NEURAL_HAM_LONG(-1.00)[-1.000]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.com:email,suse.cz:dkim,suse.cz:email,huawei.com:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_CC(0.00)[kernel.dk,citrix.com,suse.de,gmail.com,lazybastard.org,bootlin.com,nod.at,ti.com,linux.ibm.com,oracle.com,fb.com,toxicpanda.com,suse.com,zeniv.linux.org.uk,kernel.org,fluxnic.net,mit.edu,dilger.ca,redhat.com,infradead.org,linux-foundation.org,samsung.com,vger.kernel.org,lists.xenproject.org,lists.infradead.org,lists.ozlabs.org,lists.linux.dev,huawei.com]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] X-Spam-Score: 3.34 X-Rspamd-Queue-Id: 0C498220C2 X-Spam-Flag: NO On Mon 11-12-23 22:08:39, Yu Kuai wrote: > From: Yu Kuai > > Avoid to access bd_inode directly, prepare to remove bd_inode from > block_devcie. ^^^ device > Signed-off-by: Yu Kuai Looks good. Feel free to add: Reviewed-by: Jan Kara Honza -- Jan Kara SUSE Labs, CR