linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* What is the point of the wbc->for_kupdate check in btree_writepages
@ 2025-05-08  6:06 Christoph Hellwig
  2025-05-08 14:33 ` Chris Mason
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2025-05-08  6:06 UTC (permalink / raw)
  To: Chris Mason; +Cc: linux-btrfs, Josef Bacik, David Sterba, linux-mm

Hi Chris,

you added a wbc->for_kupdate check to btree_writepages that skips the
write in this case in commit 448d640b668d ("Btrfs: Fine tune the btree
writeback exclusion some more") which is not associated without any
information but the subject line.

Do you by any chance remember why it was doing that just for kupdate
and not any other background writeback?  I'm asking because it is one
of only two checks for this in file system code, and the other one
in nfs at least checks for all background writeback and thus makes
some sense to me.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-05-08 16:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-08  6:06 What is the point of the wbc->for_kupdate check in btree_writepages Christoph Hellwig
2025-05-08 14:33 ` Chris Mason
2025-05-08 14:41   ` Christoph Hellwig
2025-05-08 16:11     ` Chris Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox