Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2216323/?format=api
{ "id": 2216323, "url": "http://patchwork.ozlabs.org/api/patches/2216323/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-ext4/patch/20260326095354.16340-78-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-78-jack@suse.cz>", "list_archive_url": null, "date": "2026-03-26T09:54:30", "name": "[36/42] bfs: Track metadata bhs in fs-private inode part", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": false, "hash": "a9dd0cb5580aec48737f73be2ab8349dd6e4491a", "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-78-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/2216323/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2216323/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <SRS0=Dq1E=B2=vger.kernel.org=linux-ext4+bounces-15431-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=xzizY0qG;\n\tdkim=pass header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=UzPDswGv;\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=xzizY0qG;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=UzPDswGv;\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=dq1e=b2=vger.kernel.org=linux-ext4+bounces-15431-patchwork-incoming=ozlabs.org@ozlabs.org;\n receiver=patchwork.ozlabs.org)", "gandalf.ozlabs.org;\n arc=pass smtp.remote-ip=172.105.105.114 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=xzizY0qG;\n\tdkim=pass header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=UzPDswGv;\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=xzizY0qG;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=UzPDswGv;\n\tdkim-atps=neutral", "gandalf.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=linux-ext4+bounces-15431-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=\"xzizY0qG\";\n\tdkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz\n header.b=\"UzPDswGv\";\n\tdkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz\n header.b=\"xzizY0qG\";\n\tdkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz\n header.b=\"UzPDswGv\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=195.135.223.131", "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-out2.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 4fhKJP5T46z1y1x\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 21:09:41 +1100 (AEDT)", "from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3])\n\tby gandalf.ozlabs.org (Postfix) with ESMTP id 4fhKJP4yfwz4w9T\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 21:09:41 +1100 (AEDT)", "by gandalf.ozlabs.org (Postfix)\n\tid 4fhKJP4syMz4wB7; Thu, 26 Mar 2026 21:09:41 +1100 (AEDT)", "from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])\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 4fhKJL01pkz4w9T\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 26 Mar 2026 21:09:37 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id DFAD8317B09E\n\tfor <patchwork-incoming@ozlabs.org>; Thu, 26 Mar 2026 10:00:31 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id ED0CF3CD8C2;\n\tThu, 26 Mar 2026 09:57:28 +0000 (UTC)", "from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131])\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 7F0BE3CBE93\n\tfor <linux-ext4@vger.kernel.org>; Thu, 26 Mar 2026 09:57:27 +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-out2.suse.de (Postfix) with ESMTPS id 9FEBD5BDC3;\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 95EC44A0A3;\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 jwWZJHUCxWn/YAAAD6G6ig\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 BD29FA0C7B; Thu, 26 Mar 2026 10:54:49 +0100 (CET)" ], "ARC-Seal": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707; t=1774519781; cv=pass;\n\tb=BUN2UIy9FrTEvdRE0onYDzSPUTa7QtnIVvtY9UVnFT7aRXn8nXL83EfVa+bkQ9mseNbeFzouew3GA5pDLaultDKomp5FdwEnzmPqIEtRyTd6cZTKoIFxpNacLIIE/FH6aLMQ7Yp5gCSIGbBRM3cDH6NpJQVkpMF43PKYQpY8oYWDkCI0A6IMeinUxT146XC77XIHs3AA3p1vEsWdoTc+2WV7Iy3Bku/8BLSbF5mRlpP34bJiHksWVL3g9idSUEpWDvPAHWQrBbCAi0VDyUmYeNk5MPZxtVNJGhWLn8zfS+WiwnEuG9hN4n434C0+6MpaI4KYvrSUuorcWrCmmR65Gg==", "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774519048; cv=none;\n b=GuE8CY8hG3hdB+hFgcndvvzlVmqmIFjt4xwIsM7mbhciucuyyGLTO0hmSvggW/F3R2pTaCuGrBsn4Q7L7dWDRLe+ah0xZeoL2lVk4ZBT09ExxfxFsB686xZNMOXhVvjSmlsgV4KPTN9BjyosCfD9xuUx2kYGHz1ROwRwuPT15qw=" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; d=ozlabs.org; s=201707;\n\tt=1774519781; c=relaxed/relaxed;\n\tbh=pLPTrR9MZYnpyjuzpcjQOozcpRc1zXM2n3PzFPlVoj4=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=JkOZ/SBr454GAdbOFB/VVbW+Ay/ke+Tm9Ykb2K0T0fRq9RWrQihkUfduOcubKZIie8v+dlpyjEyy67LgyD2RNgPvaw3dcOM4QgFEXRO9HTHCUnvTFKUhNemfUnOeyJNs7MKXRGWIW8WeoYt1NZ53+PZCXiPDz0XW9qeXR1XVPwhABGBxTOWPGmuG/dGpZP8+KCKziQOeR3hQfcBCJO87YAHWEPYGanoF2OiWqlEemEqQ2otXB2eSxnePTdXCj/Jj44sUOfn5oq24tESc8o36Kp/ZGHIFjes9NDTSateXsdLWQ159wMU4HTINIMRhhiFqWAJCnUzXzkt90nvh8YnbZw==", "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774519048; c=relaxed/simple;\n\tbh=mPftk52N1tg292K+pLT6SWPCyjD9IykdNuzqZIbq9lo=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=gYzdsS9E2fGSj81H/bbRwFS6Qsdg9ak5LtVYF2AMZnDmSSbKuyqaKgt7bS9Rl6+kLiz2bgXm+jCb/ZWjnTdnARnHRbjKqYtSQ4n/hJnKZaUyI2Jw42qm8IVxhak/F/Q8QRfe3gpj5jS5tr3wZAjYygwOt2PHxZkW8sBVlEIF5XM=" ], "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=xzizY0qG;\n dkim=pass header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=UzPDswGv;\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=xzizY0qG;\n dkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=UzPDswGv; dkim-atps=neutral;\n spf=pass (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=linux-ext4+bounces-15431-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=xzizY0qG;\n dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz\n header.b=UzPDswGv;\n dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz\n header.b=xzizY0qG;\n dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz\n header.b=UzPDswGv; arc=none smtp.client-ip=195.135.223.131" ], "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=pLPTrR9MZYnpyjuzpcjQOozcpRc1zXM2n3PzFPlVoj4=;\n\tb=xzizY0qGA2xxKwN/TTLRR8OgCKBqK+Hp8GoaoQcBFeaiMnndw7xrgGdyFcP1KoAMmIqKOx\n\tr7IFZPvnpN2bnctp0k1VY0mFbEWntnKdmcryA9H2/fUjzXAAru2KQDcOcO7/exuBAz4YAN\n\tafitD1Mb+apNMLK4m3AdMt3kG4pMk1I=", "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=pLPTrR9MZYnpyjuzpcjQOozcpRc1zXM2n3PzFPlVoj4=;\n\tb=UzPDswGv2QfHuXmQrwaIInfQoACYdtIzrOOFcS/Zll+eMuKWiFKcLgEJx9JDHlQUij+gBS\n\tdIMyE9fXpcWoYHDQ==", "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=pLPTrR9MZYnpyjuzpcjQOozcpRc1zXM2n3PzFPlVoj4=;\n\tb=xzizY0qGA2xxKwN/TTLRR8OgCKBqK+Hp8GoaoQcBFeaiMnndw7xrgGdyFcP1KoAMmIqKOx\n\tr7IFZPvnpN2bnctp0k1VY0mFbEWntnKdmcryA9H2/fUjzXAAru2KQDcOcO7/exuBAz4YAN\n\tafitD1Mb+apNMLK4m3AdMt3kG4pMk1I=", "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=pLPTrR9MZYnpyjuzpcjQOozcpRc1zXM2n3PzFPlVoj4=;\n\tb=UzPDswGv2QfHuXmQrwaIInfQoACYdtIzrOOFcS/Zll+eMuKWiFKcLgEJx9JDHlQUij+gBS\n\tdIMyE9fXpcWoYHDQ==" ], "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 36/42] bfs: Track metadata bhs in fs-private inode part", "Date": "Thu, 26 Mar 2026 10:54:30 +0100", "Message-ID": "<20260326095354.16340-78-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=3085; i=jack@suse.cz;\n h=from:subject; bh=mPftk52N1tg292K+pLT6SWPCyjD9IykdNuzqZIbq9lo=;\n b=owEBbQGS/pANAwAIAZydqgc/ZEDZAcsmYgBpxQJRqNkHhgR7SXPvvfjYuN1uPILl7w2KvOz5A\n a9V2nOJOwCJATMEAAEIAB0WIQSrWdEr1p4yirVVKBycnaoHP2RA2QUCacUCUQAKCRCcnaoHP2RA\n 2ZhsB/9Ha9Xe4849znz4uZzqx+mAXqZLSVcVROsaSUM4SXsJX1uua3AmlshbsIRJILX75Lp1tCA\n 4hMK0sKdBawvmqpADO7cUNnkZwSAYzRuZ7DjqZOcePaAAsJh5/qqXaoIuL72quw9cv4QhXOzzHC\n XSxPTnrWFcSEMZxIIgpOjb6mSWXqCNyjPWTcQJqZ2AxU+P++baZaIe8+aqBkSSrHhY/yk6y1Hhm\n V9I1hEQE4K20ljtEUQOgM5E8hd/qSS4pgGIlmmaprD6MAh99NG3l8ka7RbizkWrlAP9l18TRjVL\n QqXNoNo8uWPZtO3iakLMWxKCnQR68mdwC7mrl56FS0Y/AdW4", "X-Developer-Key": "i=jack@suse.cz; a=openpgp;\n fpr=93C6099A142276A28BBE35D815BC833443038D8C", "Content-Transfer-Encoding": "8bit", "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_ip_from(RLck8brw5hxmszoarioc7838it),to(RLpnp1psq57oqao6ocwdpbxen9)];\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-Score": "-1.30", "X-Spam-Level": "", "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/bfs/bfs.h | 1 +\n fs/bfs/dir.c | 16 ++++++++++++----\n fs/bfs/inode.c | 6 ++++--\n 3 files changed, 17 insertions(+), 6 deletions(-)", "diff": "diff --git a/fs/bfs/bfs.h b/fs/bfs/bfs.h\nindex 606f9378b2f0..b08afe733e63 100644\n--- a/fs/bfs/bfs.h\n+++ b/fs/bfs/bfs.h\n@@ -35,6 +35,7 @@ struct bfs_inode_info {\n \tunsigned long i_dsk_ino; /* inode number from the disk, can be 0 */\n \tunsigned long i_sblock;\n \tunsigned long i_eblock;\n+\tstruct mapping_metadata_bhs i_metadata_bhs;\n \tstruct inode vfs_inode;\n };\n \ndiff --git a/fs/bfs/dir.c b/fs/bfs/dir.c\nindex 1b140981dbf3..2848401e2bf1 100644\n--- a/fs/bfs/dir.c\n+++ b/fs/bfs/dir.c\n@@ -68,10 +68,17 @@ static int bfs_readdir(struct file *f, struct dir_context *ctx)\n \treturn 0;\n }\n \n+static int bfs_fsync(struct file *file, loff_t start, loff_t end, int datasync)\n+{\n+\treturn mmb_fsync(file,\n+\t\t\t&BFS_I(file->f_mapping->host)->i_metadata_bhs,\n+\t\t\tstart, end, datasync);\n+}\n+\n const struct file_operations bfs_dir_operations = {\n \t.read\t\t= generic_read_dir,\n \t.iterate_shared\t= bfs_readdir,\n-\t.fsync\t\t= generic_buffers_fsync,\n+\t.fsync\t\t= bfs_fsync,\n \t.llseek\t\t= generic_file_llseek,\n };\n \n@@ -186,7 +193,7 @@ static int bfs_unlink(struct inode *dir, struct dentry *dentry)\n \t\tset_nlink(inode, 1);\n \t}\n \tde->ino = 0;\n-\tmark_buffer_dirty_inode(bh, dir);\n+\tmmb_mark_buffer_dirty(bh, &BFS_I(dir)->i_metadata_bhs);\n \tinode_set_mtime_to_ts(dir, inode_set_ctime_current(dir));\n \tmark_inode_dirty(dir);\n \tinode_set_ctime_to_ts(inode, inode_get_ctime(dir));\n@@ -246,7 +253,7 @@ static int bfs_rename(struct mnt_idmap *idmap, struct inode *old_dir,\n \t\tinode_set_ctime_current(new_inode);\n \t\tinode_dec_link_count(new_inode);\n \t}\n-\tmark_buffer_dirty_inode(old_bh, old_dir);\n+\tmmb_mark_buffer_dirty(old_bh, &BFS_I(old_dir)->i_metadata_bhs);\n \terror = 0;\n \n end_rename:\n@@ -296,7 +303,8 @@ static int bfs_add_entry(struct inode *dir, const struct qstr *child, int ino)\n \t\t\t\tfor (i = 0; i < BFS_NAMELEN; i++)\n \t\t\t\t\tde->name[i] =\n \t\t\t\t\t\t(i < namelen) ? name[i] : 0;\n-\t\t\t\tmark_buffer_dirty_inode(bh, dir);\n+\t\t\t\tmmb_mark_buffer_dirty(bh,\n+\t\t\t\t\t\t&BFS_I(dir)->i_metadata_bhs);\n \t\t\t\tbrelse(bh);\n \t\t\t\treturn 0;\n \t\t\t}\ndiff --git a/fs/bfs/inode.c b/fs/bfs/inode.c\nindex e0e50a9dbe9c..19e49c8cf750 100644\n--- a/fs/bfs/inode.c\n+++ b/fs/bfs/inode.c\n@@ -188,8 +188,8 @@ static void bfs_evict_inode(struct inode *inode)\n \n \ttruncate_inode_pages_final(&inode->i_data);\n \tif (inode->i_nlink)\n-\t\tsync_mapping_buffers(&inode->i_data);\n-\tinvalidate_inode_buffers(inode);\n+\t\tmmb_sync(&BFS_I(inode)->i_metadata_bhs);\n+\tmmb_invalidate(&BFS_I(inode)->i_metadata_bhs);\n \tclear_inode(inode);\n \n \tif (inode->i_nlink)\n@@ -259,6 +259,8 @@ static struct inode *bfs_alloc_inode(struct super_block *sb)\n \tbi = alloc_inode_sb(sb, bfs_inode_cachep, GFP_KERNEL);\n \tif (!bi)\n \t\treturn NULL;\n+\tmmb_init(&bi->i_metadata_bhs, &bi->vfs_inode.i_data);\n+\n \treturn &bi->vfs_inode;\n }\n \n", "prefixes": [ "36/42" ] }