Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2216329/?format=api
{ "id": 2216329, "url": "http://patchwork.ozlabs.org/api/patches/2216329/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260326095354.16340-77-jack@suse.cz/", "project": { "id": 8, "url": "http://patchwork.ozlabs.org/api/projects/8/?format=api", "name": "Linux ext4 filesystem development", "link_name": "linux-ext4", "list_id": "linux-ext4.vger.kernel.org", "list_email": "linux-ext4@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260326095354.16340-77-jack@suse.cz>", "list_archive_url": null, "date": "2026-03-26T09:54:29", "name": "[35/42] affs: Track metadata bhs in fs-private inode part", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": false, "hash": "f418c04f20d0df53f94e3f029f78bd0f278d5451", "submitter": { "id": 363, "url": "http://patchwork.ozlabs.org/api/people/363/?format=api", "name": "Jan Kara", "email": "jack@suse.cz" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260326095354.16340-77-jack@suse.cz/mbox/", "series": [ { "id": 497561, "url": "http://patchwork.ozlabs.org/api/series/497561/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/list/?series=497561", "date": "2026-03-26T09:53:55", "name": "fs: Move metadata bh tracking from address_space", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/497561/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2216329/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2216329/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <SRS0=6fuS=B2=vger.kernel.org=linux-ext4+bounces-15427-patchwork-incoming=ozlabs.org@ozlabs.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-ext4@vger.kernel.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "patchwork-incoming@ozlabs.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256\n header.s=susede2_rsa header.b=1KFb45Lr;\n\tdkim=pass header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=6xTkVKDh;\n\tdkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz\n header.a=rsa-sha256 header.s=susede2_rsa header.b=1KFb45Lr;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=6xTkVKDh;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org\n (client-ip=2404:9400:2221:ea00::3; helo=mail.ozlabs.org;\n envelope-from=srs0=6fus=b2=vger.kernel.org=linux-ext4+bounces-15427-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)", "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=172.234.253.10 arc.chain=subspace.kernel.org", "gandalf.ozlabs.org;\n dmarc=none (p=none dis=none) header.from=suse.cz", "gandalf.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256\n header.s=susede2_rsa header.b=1KFb45Lr;\n\tdkim=pass header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=6xTkVKDh;\n\tdkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz\n header.a=rsa-sha256 header.s=susede2_rsa header.b=1KFb45Lr;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=6xTkVKDh;\n\tdkim-atps=neutral", "gandalf.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-ext4+bounces-15427-patchwork-incoming=ozlabs.org@vger.kernel.org;\n receiver=ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz\n header.b=\"1KFb45Lr\";\n\tdkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz\n header.b=\"6xTkVKDh\";\n\tdkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz\n header.b=\"1KFb45Lr\";\n\tdkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz\n header.b=\"6xTkVKDh\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=195.135.223.130", "smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=suse.cz", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=suse.cz", "smtp-out1.suse.de;\n\tnone" ], "Received": [ "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fhKL55Dhtz1y1G\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 21:11:09 +1100 (AEDT)", "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4fhKL54mXfz4wB7\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 21:11:09 +1100 (AEDT)", "by gandalf.ozlabs.org (Postfix)\n\tid 4fhKL54h2qz4wBB; Thu, 26 Mar 2026 21:11:09 +1100 (AEDT)", "from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby gandalf.ozlabs.org (Postfix) with ESMTPS id 4fhKL229ypz4wB7\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 26 Mar 2026 21:11:06 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id E8F063176421\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 26 Mar 2026 09:59:55 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 8E92F3CB2C1;\n\tThu, 26 Mar 2026 09:57:15 +0000 (UTC)", "from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 9ACBA3C2798\n\tfor <linux-ext4@vger.kernel.org>; Thu, 26 Mar 2026 09:57:11 +0000 (UTC)", "from imap1.dmz-prg2.suse.org (unknown [10.150.64.97])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby smtp-out1.suse.de (Postfix) with ESMTPS id 983144D2A8;\n\tThu, 26 Mar 2026 09:55:01 +0000 (UTC)", "from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 8BC4E4A0A9;\n\tThu, 26 Mar 2026 09:55:01 +0000 (UTC)", "from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n\tby imap1.dmz-prg2.suse.org with ESMTPSA\n\tid wa0eInUCxWn6YAAAD6G6ig\n\t(envelope-from <jack@suse.cz>); Thu, 26 Mar 2026 09:55:01 +0000", "by quack3.suse.cz (Postfix, from userid 1000)\n\tid B37DFA0C7A; Thu, 26 Mar 2026 10:54:49 +0100 (CET)" ], "ARC-Seal": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1774519869; cv=pass;\n\tb=Ejl8Cm5KgSRm4p4hQCO1lid1U2eyEXgyws8xKi7Yuxs4+ZvNwT6VeLUeKb1gnJgGg4CcZDMmpqiTzYRahokFCtJeKKZqOZstrICcixCj8+j04TovZPyoIdA1q+WOq5mPCexiud6UGWw3SSZ4uvgeOGASsq+V65yE8+a358PVkgZgcKGCR52YHcGMDLp/5xnRiK2JvLjfsJNUsQED9K/3yQkGT0VJcDAjLKzVi0c8yikeXSbR9Wcs4jV4vHXu7kFuMrq86xqSvd0Fdr0Py2Gd6UAp2A+obCEo768qJJt33zCcikobAIgfLHyFRlCO4fhpMvDD4GJfA68Pwcj40wnFZg==", "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774519035; cv=none;\n b=Q8iY30TeCoL1ZMUHydsUcNjTIPvyoiSElV2yy0QvAlbhsK7p/66VziZ0EQ7DyKFYrnfRez4PYFMlvwzYmd1xm7pjFQwKQgiD7FGyCq2r1bITdeOUp5rSEd73DJsBRg7LPCsgr0Uw71IHIR2RkqoDvQzdEeiEUnptqTmDO81YkwE=" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1774519869; c=relaxed/relaxed;\n\tbh=/jAwTJiih2qv21x1zDcNiAZklPoPTM0eb+px5UJF6lw=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=Kn8mE8fQDkWua80DUUj73vraK6fMbV9/B/zdMRyjf3iZEaeL7wsckEu6M7vXY6hbGT1U5B4m9H+0KuXqFfQgCDmSJwDLMz0dMLYPRntMXFZ0u1GhXtF+/2UBjzDcQh4pDa0OXYb4l23VJT8J9vAoc08xbk+v1eAqR0mbpCGnw5IR3l9ar6bpMBMpFbHcPFNGZnquDaxTh+Gbj7bBdMj0hzX1ZsVYGB29X4e8e8JXkmMcnXO6bzom3pSspC/zC1MCozeKva+cV7QjGMemt7ihbwCs+/eHY+GEOJMb+Vg/2Y6fTozW+XiIWCj80jcvjOgAtdW60426pWJ2uTj7H+DOGw==", "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774519035; c=relaxed/simple;\n\tbh=bsmd8IOBMIFaPT0W+pgoe4ypivIyXU5noYASi9PAuxg=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=gKDEzeug4sL1Cg/+pFIw46V+MXm8qDpDpp/aKv+piK1WL8af5fbOxAb/YOvXXd44PmB+eCusLO+nxu8PtFWocJFtxqSjgef6HBZRrL2HEdGa8h5BFtKLJzRs5bpmsXcIapuVqSuTGLu7WubexmodxTeO9pFXY+Y4lgFvCOgjoEI=" ], "ARC-Authentication-Results": [ "i=2; gandalf.ozlabs.org;\n dmarc=none (p=none dis=none) header.from=suse.cz; dkim=pass (1024-bit key;\n unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256\n header.s=susede2_rsa header.b=1KFb45Lr;\n dkim=pass header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=6xTkVKDh;\n dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz\n header.a=rsa-sha256 header.s=susede2_rsa header.b=1KFb45Lr;\n dkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=6xTkVKDh; dkim-atps=neutral;\n spf=pass (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-ext4+bounces-15427-patchwork-incoming=ozlabs.org@vger.kernel.org;\n receiver=ozlabs.org) smtp.mailfrom=vger.kernel.org", "i=1; smtp.subspace.kernel.org;\n dmarc=none (p=none dis=none) header.from=suse.cz;\n spf=pass smtp.mailfrom=suse.cz;\n dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz\n header.b=1KFb45Lr;\n dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz\n header.b=6xTkVKDh;\n dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz\n header.b=1KFb45Lr;\n dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz\n header.b=6xTkVKDh; arc=none smtp.client-ip=195.135.223.130" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n\tt=1774518901;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n\t mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=/jAwTJiih2qv21x1zDcNiAZklPoPTM0eb+px5UJF6lw=;\n\tb=1KFb45LrnT8VIPgsdivFPrty/BUxLgOlZo80pw3zDyw8z+OrkemNHV9xfBeXLg1clgznU4\n\tbO4IaDPM53POGTPM0lq8h2sEEo+UN+DkjINj48GpX8KR5Dz4Q1nVNBBZKbMgbbFXbkh/rK\n\tr9P3BU+qNd+IN4mfnLdbWLq/8cfa8OI=", "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n\ts=susede2_ed25519; t=1774518901;\n\th=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n\t mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=/jAwTJiih2qv21x1zDcNiAZklPoPTM0eb+px5UJF6lw=;\n\tb=6xTkVKDhkLp/nrKzffvXSnrEWBZ3/Mu8iWnDAkMusNaL8hIA79mplmN/Q7do0mZcOM68Ep\n\t2arG/PBdXwSFj8BQ==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n\tt=1774518901;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n\t mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=/jAwTJiih2qv21x1zDcNiAZklPoPTM0eb+px5UJF6lw=;\n\tb=1KFb45LrnT8VIPgsdivFPrty/BUxLgOlZo80pw3zDyw8z+OrkemNHV9xfBeXLg1clgznU4\n\tbO4IaDPM53POGTPM0lq8h2sEEo+UN+DkjINj48GpX8KR5Dz4Q1nVNBBZKbMgbbFXbkh/rK\n\tr9P3BU+qNd+IN4mfnLdbWLq/8cfa8OI=", "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n\ts=susede2_ed25519; t=1774518901;\n\th=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n\t mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=/jAwTJiih2qv21x1zDcNiAZklPoPTM0eb+px5UJF6lw=;\n\tb=6xTkVKDhkLp/nrKzffvXSnrEWBZ3/Mu8iWnDAkMusNaL8hIA79mplmN/Q7do0mZcOM68Ep\n\t2arG/PBdXwSFj8BQ==" ], "From": "Jan Kara <jack@suse.cz>", "To": "<linux-fsdevel@vger.kernel.org>", "Cc": "<linux-block@vger.kernel.org>,\n\tChristian Brauner <brauner@kernel.org>,\n\tAl Viro <viro@ZenIV.linux.org.uk>,\n\t<linux-ext4@vger.kernel.org>,\n\tTed Tso <tytso@mit.edu>,\n\t\"Tigran A. Aivazian\" <aivazian.tigran@gmail.com>,\n\tDavid Sterba <dsterba@suse.com>,\n\tOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>,\n\tMuchun Song <muchun.song@linux.dev>,\n\tOscar Salvador <osalvador@suse.de>,\n\tDavid Hildenbrand <david@kernel.org>,\n\tlinux-mm@kvack.org,\n\tlinux-aio@kvack.org,\n\tBenjamin LaHaise <bcrl@kvack.org>,\n\tJan Kara <jack@suse.cz>", "Subject": "[PATCH 35/42] affs: Track metadata bhs in fs-private inode part", "Date": "Thu, 26 Mar 2026 10:54:29 +0100", "Message-ID": "<20260326095354.16340-77-jack@suse.cz>", "X-Mailer": "git-send-email 2.51.0", "In-Reply-To": "<20260326082428.31660-1-jack@suse.cz>", "References": "<20260326082428.31660-1-jack@suse.cz>", "Precedence": "bulk", "X-Mailing-List": "linux-ext4@vger.kernel.org", "List-Id": "<linux-ext4.vger.kernel.org>", "List-Subscribe": "<mailto:linux-ext4+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-ext4+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "X-Developer-Signature": "v=1; a=openpgp-sha256; l=10960; i=jack@suse.cz;\n h=from:subject; bh=bsmd8IOBMIFaPT0W+pgoe4ypivIyXU5noYASi9PAuxg=;\n b=owEBbQGS/pANAwAIAZydqgc/ZEDZAcsmYgBpxQJQlWRcYLVKxJbqE33CN0oN/AVB/vHClHwPo\n 9t6RsiJXgeJATMEAAEIAB0WIQSrWdEr1p4yirVVKBycnaoHP2RA2QUCacUCUAAKCRCcnaoHP2RA\n 2Vk4B/0TyH0Z5mLeLwjQ2zOsaG9TKLBjN6ujI1cPJkSKkDmtcJ115R8ReHxbaTsTk7AqSlwTRA7\n ZZ3t1Q5nPOt6p+oEEhVOQGOkmuFNq7cHBoSswcJJ5D+BB+FY0oGxMEcdXzOihkK/lSu14SMVa4U\n YMgDZjVsT864+4SM5W6mD8S2YjU4o23ZAzNsS+QbMhZQbazSDYXlW6EYoUUlLRqtx0fW/ejb8u8\n xYeEi7J0z+Sv1nguvWI9O4IWa9ZKWQOaCNiFhJwUty39WcNRAqJm3rH3KJK23nB3nfmGhb4+iSF\n BhON42bFO5TpaSheNcXZ/KXWs27jsWlKMOPdePUYQ1AaEfRU", "X-Developer-Key": "i=jack@suse.cz; a=openpgp;\n fpr=93C6099A142276A28BBE35D815BC833443038D8C", "Content-Transfer-Encoding": "8bit", "X-Spam-Score": "-1.30", "X-Spam-Level": "", "X-Spamd-Result": "default: False [-1.30 / 50.00];\n\tBAYES_HAM(-3.00)[100.00%];\n\tSUSPICIOUS_RECIPS(1.50)[];\n\tNEURAL_HAM_LONG(-1.00)[-1.000];\n\tMID_CONTAINS_FROM(1.00)[];\n\tR_MISSING_CHARSET(0.50)[];\n\tNEURAL_HAM_SHORT(-0.20)[-1.000];\n\tMIME_GOOD(-0.10)[text/plain];\n\tTAGGED_RCPT(0.00)[];\n\tMIME_TRACE(0.00)[0:+];\n\tFUZZY_RATELIMITED(0.00)[rspamd.com];\n\tRCVD_VIA_SMTP_AUTH(0.00)[];\n\tTO_DN_SOME(0.00)[];\n\tRCPT_COUNT_TWELVE(0.00)[16];\n\tARC_NA(0.00)[];\n\tRCVD_COUNT_THREE(0.00)[3];\n\tDKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n\tFROM_HAS_DN(0.00)[];\n\tFREEMAIL_CC(0.00)[vger.kernel.org,kernel.org,ZenIV.linux.org.uk,mit.edu,gmail.com,suse.com,mail.parknet.co.jp,linux.dev,suse.de,kvack.org,suse.cz];\n\tR_RATELIMIT(0.00)[to(RLpnp1psq57oqao6ocwdpbxen9),to_ip_from(RLck8brw5hxmszoarioc7838it)];\n\tFROM_EQ_ENVFROM(0.00)[];\n\tTO_MATCH_ENVRCPT_ALL(0.00)[];\n\tDBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo];\n\tRCVD_TLS_LAST(0.00)[];\n\tFREEMAIL_ENVRCPT(0.00)[gmail.com]", "X-Spam-Status": "No, score=-1.2 required=5.0 tests=ARC_SIGNED,ARC_VALID,\n\tDKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DMARC_MISSING,\n\tHEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,\n\tSPF_PASS autolearn=disabled version=4.0.1", "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on gandalf.ozlabs.org" }, "content": "Track metadata bhs for an inode in fs-private part of the inode.\n\nSigned-off-by: Jan Kara <jack@suse.cz>\n---\n fs/affs/affs.h | 2 ++\n fs/affs/amigaffs.c | 12 ++++++------\n fs/affs/file.c | 25 ++++++++++++++-----------\n fs/affs/inode.c | 14 +++++++-------\n fs/affs/namei.c | 9 +++++----\n fs/affs/super.c | 1 +\n 6 files changed, 35 insertions(+), 28 deletions(-)", "diff": "diff --git a/fs/affs/affs.h b/fs/affs/affs.h\nindex ac4e9a02910b..a1eb400e1018 100644\n--- a/fs/affs/affs.h\n+++ b/fs/affs/affs.h\n@@ -44,6 +44,7 @@ struct affs_inode_info {\n \tstruct mutex i_link_lock;\t\t/* Protects internal inode access. */\n \tstruct mutex i_ext_lock;\t\t/* Protects internal inode access. */\n #define i_hash_lock i_ext_lock\n+\tstruct mapping_metadata_bhs i_metadata_bhs;\n \tu32\t i_blkcnt;\t\t\t/* block count */\n \tu32\t i_extcnt;\t\t\t/* extended block count */\n \tu32\t*i_lc;\t\t\t\t/* linear cache of extended blocks */\n@@ -151,6 +152,7 @@ extern bool\taffs_nofilenametruncate(const struct dentry *dentry);\n extern int\taffs_check_name(const unsigned char *name, int len,\n \t\t\t\tbool notruncate);\n extern int\taffs_copy_name(unsigned char *bstr, struct dentry *dentry);\n+struct mapping_metadata_bhs *affs_get_metadata_bhs(struct inode *inode);\n \n /* bitmap. c */\n \ndiff --git a/fs/affs/amigaffs.c b/fs/affs/amigaffs.c\nindex fd669daa4e7b..13a914c1d8b7 100644\n--- a/fs/affs/amigaffs.c\n+++ b/fs/affs/amigaffs.c\n@@ -57,7 +57,7 @@ affs_insert_hash(struct inode *dir, struct buffer_head *bh)\n \t\tAFFS_TAIL(sb, dir_bh)->hash_chain = cpu_to_be32(ino);\n \n \taffs_adjust_checksum(dir_bh, ino);\n-\tmark_buffer_dirty_inode(dir_bh, dir);\n+\tmmb_mark_buffer_dirty(dir_bh, &AFFS_I(dir)->i_metadata_bhs);\n \taffs_brelse(dir_bh);\n \n \tinode_set_mtime_to_ts(dir, inode_set_ctime_current(dir));\n@@ -100,7 +100,7 @@ affs_remove_hash(struct inode *dir, struct buffer_head *rem_bh)\n \t\t\telse\n \t\t\t\tAFFS_TAIL(sb, bh)->hash_chain = ino;\n \t\t\taffs_adjust_checksum(bh, be32_to_cpu(ino) - hash_ino);\n-\t\t\tmark_buffer_dirty_inode(bh, dir);\n+\t\t\tmmb_mark_buffer_dirty(bh, &AFFS_I(dir)->i_metadata_bhs);\n \t\t\tAFFS_TAIL(sb, rem_bh)->parent = 0;\n \t\t\tretval = 0;\n \t\t\tbreak;\n@@ -180,7 +180,7 @@ affs_remove_link(struct dentry *dentry)\n \t\t\taffs_unlock_dir(dir);\n \t\t\tgoto done;\n \t\t}\n-\t\tmark_buffer_dirty_inode(link_bh, inode);\n+\t\tmmb_mark_buffer_dirty(link_bh, &AFFS_I(inode)->i_metadata_bhs);\n \n \t\tmemcpy(AFFS_TAIL(sb, bh)->name, AFFS_TAIL(sb, link_bh)->name, 32);\n \t\tretval = affs_insert_hash(dir, bh);\n@@ -188,7 +188,7 @@ affs_remove_link(struct dentry *dentry)\n \t\t\taffs_unlock_dir(dir);\n \t\t\tgoto done;\n \t\t}\n-\t\tmark_buffer_dirty_inode(bh, inode);\n+\t\tmmb_mark_buffer_dirty(bh, &AFFS_I(inode)->i_metadata_bhs);\n \n \t\taffs_unlock_dir(dir);\n \t\tiput(dir);\n@@ -203,7 +203,7 @@ affs_remove_link(struct dentry *dentry)\n \t\t\t__be32 ino2 = AFFS_TAIL(sb, link_bh)->link_chain;\n \t\t\tAFFS_TAIL(sb, bh)->link_chain = ino2;\n \t\t\taffs_adjust_checksum(bh, be32_to_cpu(ino2) - link_ino);\n-\t\t\tmark_buffer_dirty_inode(bh, inode);\n+\t\t\tmmb_mark_buffer_dirty(bh, &AFFS_I(inode)->i_metadata_bhs);\n \t\t\tretval = 0;\n \t\t\t/* Fix the link count, if bh is a normal header block without links */\n \t\t\tswitch (be32_to_cpu(AFFS_TAIL(sb, bh)->stype)) {\n@@ -306,7 +306,7 @@ affs_remove_header(struct dentry *dentry)\n \tretval = affs_remove_hash(dir, bh);\n \tif (retval)\n \t\tgoto done_unlock;\n-\tmark_buffer_dirty_inode(bh, inode);\n+\tmmb_mark_buffer_dirty(bh, &AFFS_I(inode)->i_metadata_bhs);\n \n \taffs_unlock_dir(dir);\n \ndiff --git a/fs/affs/file.c b/fs/affs/file.c\nindex 6c9258359ddb..606630d6f5f7 100644\n--- a/fs/affs/file.c\n+++ b/fs/affs/file.c\n@@ -140,14 +140,14 @@ affs_alloc_extblock(struct inode *inode, struct buffer_head *bh, u32 ext)\n \tAFFS_TAIL(sb, new_bh)->parent = cpu_to_be32(inode->i_ino);\n \taffs_fix_checksum(sb, new_bh);\n \n-\tmark_buffer_dirty_inode(new_bh, inode);\n+\tmmb_mark_buffer_dirty(new_bh, &AFFS_I(inode)->i_metadata_bhs);\n \n \ttmp = be32_to_cpu(AFFS_TAIL(sb, bh)->extension);\n \tif (tmp)\n \t\taffs_warning(sb, \"alloc_ext\", \"previous extension set (%x)\", tmp);\n \tAFFS_TAIL(sb, bh)->extension = cpu_to_be32(blocknr);\n \taffs_adjust_checksum(bh, blocknr - tmp);\n-\tmark_buffer_dirty_inode(bh, inode);\n+\tmmb_mark_buffer_dirty(bh, &AFFS_I(inode)->i_metadata_bhs);\n \n \tAFFS_I(inode)->i_extcnt++;\n \tmark_inode_dirty(inode);\n@@ -581,7 +581,7 @@ affs_extent_file_ofs(struct inode *inode, u32 newsize)\n \t\tmemset(AFFS_DATA(bh) + boff, 0, tmp);\n \t\tbe32_add_cpu(&AFFS_DATA_HEAD(bh)->size, tmp);\n \t\taffs_fix_checksum(sb, bh);\n-\t\tmark_buffer_dirty_inode(bh, inode);\n+\t\tmmb_mark_buffer_dirty(bh, &AFFS_I(inode)->i_metadata_bhs);\n \t\tsize += tmp;\n \t\tbidx++;\n \t} else if (bidx) {\n@@ -603,7 +603,7 @@ affs_extent_file_ofs(struct inode *inode, u32 newsize)\n \t\tAFFS_DATA_HEAD(bh)->size = cpu_to_be32(tmp);\n \t\taffs_fix_checksum(sb, bh);\n \t\tbh->b_state &= ~(1UL << BH_New);\n-\t\tmark_buffer_dirty_inode(bh, inode);\n+\t\tmmb_mark_buffer_dirty(bh, &AFFS_I(inode)->i_metadata_bhs);\n \t\tif (prev_bh) {\n \t\t\tu32 tmp_next = be32_to_cpu(AFFS_DATA_HEAD(prev_bh)->next);\n \n@@ -613,7 +613,8 @@ affs_extent_file_ofs(struct inode *inode, u32 newsize)\n \t\t\t\t\t bidx, tmp_next);\n \t\t\tAFFS_DATA_HEAD(prev_bh)->next = cpu_to_be32(bh->b_blocknr);\n \t\t\taffs_adjust_checksum(prev_bh, bh->b_blocknr - tmp_next);\n-\t\t\tmark_buffer_dirty_inode(prev_bh, inode);\n+\t\t\tmmb_mark_buffer_dirty(prev_bh,\n+\t\t\t\t\t &AFFS_I(inode)->i_metadata_bhs);\n \t\t\taffs_brelse(prev_bh);\n \t\t}\n \t\tsize += bsize;\n@@ -732,7 +733,7 @@ static int affs_write_end_ofs(const struct kiocb *iocb,\n \t\tAFFS_DATA_HEAD(bh)->size = cpu_to_be32(\n \t\t\tmax(boff + tmp, be32_to_cpu(AFFS_DATA_HEAD(bh)->size)));\n \t\taffs_fix_checksum(sb, bh);\n-\t\tmark_buffer_dirty_inode(bh, inode);\n+\t\tmmb_mark_buffer_dirty(bh, &AFFS_I(inode)->i_metadata_bhs);\n \t\twritten += tmp;\n \t\tfrom += tmp;\n \t\tbidx++;\n@@ -765,12 +766,13 @@ static int affs_write_end_ofs(const struct kiocb *iocb,\n \t\t\t\t\t\t bidx, tmp_next);\n \t\t\t\tAFFS_DATA_HEAD(prev_bh)->next = cpu_to_be32(bh->b_blocknr);\n \t\t\t\taffs_adjust_checksum(prev_bh, bh->b_blocknr - tmp_next);\n-\t\t\t\tmark_buffer_dirty_inode(prev_bh, inode);\n+\t\t\t\tmmb_mark_buffer_dirty(prev_bh,\n+\t\t\t\t\t&AFFS_I(inode)->i_metadata_bhs);\n \t\t\t}\n \t\t}\n \t\taffs_brelse(prev_bh);\n \t\taffs_fix_checksum(sb, bh);\n-\t\tmark_buffer_dirty_inode(bh, inode);\n+\t\tmmb_mark_buffer_dirty(bh, &AFFS_I(inode)->i_metadata_bhs);\n \t\twritten += bsize;\n \t\tfrom += bsize;\n \t\tbidx++;\n@@ -799,13 +801,14 @@ static int affs_write_end_ofs(const struct kiocb *iocb,\n \t\t\t\t\t\t bidx, tmp_next);\n \t\t\t\tAFFS_DATA_HEAD(prev_bh)->next = cpu_to_be32(bh->b_blocknr);\n \t\t\t\taffs_adjust_checksum(prev_bh, bh->b_blocknr - tmp_next);\n-\t\t\t\tmark_buffer_dirty_inode(prev_bh, inode);\n+\t\t\t\tmmb_mark_buffer_dirty(prev_bh,\n+\t\t\t\t\t\t&AFFS_I(inode)->i_metadata_bhs);\n \t\t\t}\n \t\t} else if (be32_to_cpu(AFFS_DATA_HEAD(bh)->size) < tmp)\n \t\t\tAFFS_DATA_HEAD(bh)->size = cpu_to_be32(tmp);\n \t\taffs_brelse(prev_bh);\n \t\taffs_fix_checksum(sb, bh);\n-\t\tmark_buffer_dirty_inode(bh, inode);\n+\t\tmmb_mark_buffer_dirty(bh, &AFFS_I(inode)->i_metadata_bhs);\n \t\twritten += tmp;\n \t\tfrom += tmp;\n \t\tbidx++;\n@@ -942,7 +945,7 @@ affs_truncate(struct inode *inode)\n \t}\n \tAFFS_TAIL(sb, ext_bh)->extension = 0;\n \taffs_fix_checksum(sb, ext_bh);\n-\tmark_buffer_dirty_inode(ext_bh, inode);\n+\tmmb_mark_buffer_dirty(ext_bh, &AFFS_I(inode)->i_metadata_bhs);\n \taffs_brelse(ext_bh);\n \n \tif (inode->i_size) {\ndiff --git a/fs/affs/inode.c b/fs/affs/inode.c\nindex 84afa862f220..51c71c7523a3 100644\n--- a/fs/affs/inode.c\n+++ b/fs/affs/inode.c\n@@ -206,7 +206,7 @@ affs_write_inode(struct inode *inode, struct writeback_control *wbc)\n \t\t}\n \t}\n \taffs_fix_checksum(sb, bh);\n-\tmark_buffer_dirty_inode(bh, inode);\n+\tmmb_mark_buffer_dirty(bh, &AFFS_I(inode)->i_metadata_bhs);\n \taffs_brelse(bh);\n \taffs_free_prealloc(inode);\n \treturn 0;\n@@ -268,10 +268,10 @@ affs_evict_inode(struct inode *inode)\n \t\tinode->i_size = 0;\n \t\taffs_truncate(inode);\n \t} else {\n-\t\tsync_mapping_buffers(&inode->i_data);\n+\t\tmmb_sync(&AFFS_I(inode)->i_metadata_bhs);\n \t}\n \n-\tinvalidate_inode_buffers(inode);\n+\tmmb_invalidate(&AFFS_I(inode)->i_metadata_bhs);\n \tclear_inode(inode);\n \taffs_free_prealloc(inode);\n \tcache_page = (unsigned long)AFFS_I(inode)->i_lc;\n@@ -306,7 +306,7 @@ affs_new_inode(struct inode *dir)\n \tbh = affs_getzeroblk(sb, block);\n \tif (!bh)\n \t\tgoto err_bh;\n-\tmark_buffer_dirty_inode(bh, inode);\n+\tmmb_mark_buffer_dirty(bh, &AFFS_I(inode)->i_metadata_bhs);\n \taffs_brelse(bh);\n \n \tinode->i_uid = current_fsuid();\n@@ -394,17 +394,17 @@ affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s3\n \t\tAFFS_TAIL(sb, bh)->link_chain = chain;\n \t\tAFFS_TAIL(sb, inode_bh)->link_chain = cpu_to_be32(block);\n \t\taffs_adjust_checksum(inode_bh, block - be32_to_cpu(chain));\n-\t\tmark_buffer_dirty_inode(inode_bh, inode);\n+\t\tmmb_mark_buffer_dirty(inode_bh, &AFFS_I(inode)->i_metadata_bhs);\n \t\tset_nlink(inode, 2);\n \t\tihold(inode);\n \t}\n \taffs_fix_checksum(sb, bh);\n-\tmark_buffer_dirty_inode(bh, inode);\n+\tmmb_mark_buffer_dirty(bh, &AFFS_I(inode)->i_metadata_bhs);\n \tdentry->d_fsdata = (void *)(long)bh->b_blocknr;\n \n \taffs_lock_dir(dir);\n \tretval = affs_insert_hash(dir, bh);\n-\tmark_buffer_dirty_inode(bh, inode);\n+\tmmb_mark_buffer_dirty(bh, &AFFS_I(inode)->i_metadata_bhs);\n \taffs_unlock_dir(dir);\n \taffs_unlock_link(inode);\n \ndiff --git a/fs/affs/namei.c b/fs/affs/namei.c\nindex f883be50db12..23d00d85cf21 100644\n--- a/fs/affs/namei.c\n+++ b/fs/affs/namei.c\n@@ -373,7 +373,7 @@ affs_symlink(struct mnt_idmap *idmap, struct inode *dir,\n \t}\n \t*p = 0;\n \tinode->i_size = i + 1;\n-\tmark_buffer_dirty_inode(bh, inode);\n+\tmmb_mark_buffer_dirty(bh, &AFFS_I(inode)->i_metadata_bhs);\n \taffs_brelse(bh);\n \tmark_inode_dirty(inode);\n \n@@ -443,7 +443,8 @@ affs_rename(struct inode *old_dir, struct dentry *old_dentry,\n \t/* TODO: move it back to old_dir, if error? */\n \n done:\n-\tmark_buffer_dirty_inode(bh, retval ? old_dir : new_dir);\n+\tmmb_mark_buffer_dirty(bh,\n+\t\t\t&AFFS_I(retval ? old_dir : new_dir)->i_metadata_bhs);\n \taffs_brelse(bh);\n \treturn retval;\n }\n@@ -496,8 +497,8 @@ affs_xrename(struct inode *old_dir, struct dentry *old_dentry,\n \tretval = affs_insert_hash(old_dir, bh_new);\n \taffs_unlock_dir(old_dir);\n done:\n-\tmark_buffer_dirty_inode(bh_old, new_dir);\n-\tmark_buffer_dirty_inode(bh_new, old_dir);\n+\tmmb_mark_buffer_dirty(bh_old, &AFFS_I(new_dir)->i_metadata_bhs);\n+\tmmb_mark_buffer_dirty(bh_new, &AFFS_I(old_dir)->i_metadata_bhs);\n \taffs_brelse(bh_old);\n \taffs_brelse(bh_new);\n \treturn retval;\ndiff --git a/fs/affs/super.c b/fs/affs/super.c\nindex 8451647f3fea..079f36e1ddec 100644\n--- a/fs/affs/super.c\n+++ b/fs/affs/super.c\n@@ -108,6 +108,7 @@ static struct inode *affs_alloc_inode(struct super_block *sb)\n \ti->i_lc = NULL;\n \ti->i_ext_bh = NULL;\n \ti->i_pa_cnt = 0;\n+\tmmb_init(&i->i_metadata_bhs, &i->vfs_inode.i_data);\n \n \treturn &i->vfs_inode;\n }\n", "prefixes": [ "35/42" ] }