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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21086C2BB3F for ; Mon, 20 Nov 2023 14:07:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8FE276B042B; Mon, 20 Nov 2023 09:07:51 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 8AE3A6B042F; Mon, 20 Nov 2023 09:07:51 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 776816B0432; Mon, 20 Nov 2023 09:07:51 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 648A06B042B for ; Mon, 20 Nov 2023 09:07:51 -0500 (EST) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 08B221608AA for ; Mon, 20 Nov 2023 14:07:51 +0000 (UTC) X-FDA: 81478511142.03.CC40575 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf01.hostedemail.com (Postfix) with ESMTP id EFE2C4001C for ; Mon, 20 Nov 2023 14:07:48 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=QSzhxryf; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf01.hostedemail.com: domain of brauner@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=brauner@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1700489269; h=from:from:sender:reply-to:subject:subject: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:dkim-signature; bh=miiuVHdsgitp3t05i1u9rI+wxzhdlpDv7jKDio36GNc=; b=SDB4Euk2d1RIqx2du1B8TRGf1N21rT0KR31IZMjvUU2KLJTUIIpYSxJL+bkoKbg3e2r2mT t7jyX0CZAHdGAUdSIaiR1BDUf2wUuDPOnZMUclBFJd6raVQS81CfWbTvHXRIpuyL7dTlJP XTSTz/GIytGC1gDl7nBofBQbZAfmw+w= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=QSzhxryf; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf01.hostedemail.com: domain of brauner@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=brauner@kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1700489269; a=rsa-sha256; cv=none; b=Ct88bytD4EdtHv7FoPkEOT5oYj7AdFQfKPlm6/0DNR/qTvGEo7/g8TsJjYNfWgxy+k6KUk Rcep6XMPHnHMZEmC9R6cxqH+Su8Xle9+xRa9WSjqPo7nRqHBC/v3DPaNA1bSUa3hbEkSVf Zz0TDvrcphAY9nOxMW0y9pvkOBAJBMo= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id C8CE2612B1; Mon, 20 Nov 2023 14:07:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61DF0C433C8; Mon, 20 Nov 2023 14:07:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700489266; bh=S8qMgQ1EMUfvTUZrcDS8da/H/870w/2xeU9rsXS2ds4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QSzhxryfS07MGtiYgKdA/KgvpJFBhySuqf49RrifpV8CtbmOpbCqJtDW4keAuKtJx LpDr9JK6X7KHjMgFRsVyEn8IlsR+g0I90s7hNYxWqpp62eBumzAksnIMk/hZQV7Bhh QRK+W/EQZTn8vzEb+USqMO98d1bKoOR5eeTho2jxFKHUTniP9QIEKL3YtPn9F/TQuR fe/9oDTbrvwxGOKtGSzoz4CUhTteSf4cEpqXQsTlBGSO/r1wqBDQ56iWFpWvyCJPPA 1QysZD+ofQfaDMKoO2uD3CmW2hQYBkIkYSvkbIDE6AyUCz50ZGz+tnsWnw6EWtABuT L+1f87OfP8/JQ== From: Christian Brauner To: Christoph Hellwig Cc: Christian Brauner , Ilya Dryomov , Andrew Morton , linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-mm@kvack.org, Jens Axboe , Matthew Wilcox Subject: Re: add and use a per-mapping stable writes flag v2 Date: Mon, 20 Nov 2023 15:07:01 +0100 Message-ID: <20231120-unnachahmlich-dachwohnung-c5d469db965a@brauner> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231025141020.192413-1-hch@lst.de> References: <20231025141020.192413-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1718; i=brauner@kernel.org; h=from:subject:message-id; bh=tN1Ke32NvKBFArsZFJBbxJjPjUX5X5jdMMtUAgN7p5o=; b=owGbwMvMwCU28Zj0gdSKO4sYT6slMaRGZ7DM95vs8sLQd/3VZRPV5T0b3xQwPI6ZmF/bEWoWu JvV58mpjlIWBjEuBlkxRRaHdpNwueU8FZuNMjVg5rAygQxh4OIUgImENzIyLJxlsur5rnRrCXXB T6INaxU2H9/qxxd+dPJ22Ted+mqsvYwM11+13XPNeLT4z6JtD3Tmy7p+P5XRz8WyuTrRraj7h4o pHwA= X-Developer-Key: i=brauner@kernel.org; a=openpgp; fpr=4880B8C9BD0E5106FC070F4F7B3C391EFEA93624 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: EFE2C4001C X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: sqag5x441sf44bxygjg5aa1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LrONLfanIztOXVCrlUQBch+S4nHd9lZAGuDGbJ9y0A95szf+3uzou0iegBc52GMHyQfg1jQ7MGQgafUDywWMsWbTJLSkz6+b6qTl+NwOiux1eQhzBbwKNu/qp/OMGexsMU+OTs7CawxrxrKBrAfGCXLZ84YzokLnPRiFJVB0X9iMQICcKNlHrsuLlkQmyzZZKUzDPvHijm5rsQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Wed, 25 Oct 2023 16:10:16 +0200, Christoph Hellwig wrote: > A while ago Ilya pointer out that since commit 1cb039f3dc16 ("bdi: > replace BDI_CAP_STABLE_WRITES with a queue and a sb flag"), the stable > write flag on the queue wasn't used for writes to the block devices > nodes any more, and willy suggested fixing this by adding a stable write > flags on each address_space. This series implements this fix, and also > fixes the stable write flag when the XFS RT device requires it, but the > main device doesn't (which is probably more a theoretical than a > practical problem). > > [...] Ok, I've picked this up now. Let me know if this needs to go through someone else. --- Applied to the vfs.fixes branch of the vfs/vfs.git tree. Patches in the vfs.fixes branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.fixes [1/4] filemap: add a per-mapping stable writes flag https://git.kernel.org/vfs/vfs/c/cb293ec9f897 [2/4] block: update the stable_writes flag in bdev_add https://git.kernel.org/vfs/vfs/c/743958a2f50b [3/4] xfs: clean up FS_XFLAG_REALTIME handling in xfs_ioctl_setattr_xflags https://git.kernel.org/vfs/vfs/c/f04f350d39eb [4/4] xfs: respect the stable writes flag on the RT device https://git.kernel.org/vfs/vfs/c/60fc2887c158