Thread (2 messages) 2 messages, 2 authors, 2025-01-28

Re: [PATCH] block: Skip the folio lock if the folio is already dirty

From: Christoph Hellwig <hch@infradead.org>
Date: 2025-01-28 05:58:07
Also in: linux-fsdevel, linux-mm

On Fri, Jan 24, 2025 at 10:51:02PM +0000, Matthew Wilcox (Oracle) wrote:
 	bio_for_each_folio_all(fi, bio) {
+		if (folio_test_dirty(fi.folio))
+			continue;
Can you add a comment why this is safe (the answer probably is "folio
dirtying through direct I/O is racy as hell anyway and we don't care")
and desirable?

Otherwise this looks great.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help