Thread (37 messages) 37 messages, 8 authors, 2024-04-11

Re: [PATCH RFC v3 for-6.8/block 02/17] xen/blkback: use bdev api in xen_update_blkif_status()

From: Christoph Hellwig <hch@infradead.org>
Date: 2024-01-05 06:09:24
Also in: linux-bcache, linux-bcachefs, linux-btrfs, linux-ext4, linux-fsdevel, linux-s390, linux-scsi, lkml, xen-devel

On Thu, Jan 04, 2024 at 12:06:31PM +0100, Jan Kara wrote:
This function uses invalidate_inode_pages2() while invalidate_bdev() ends
up using mapping_try_invalidate() and there are subtle behavioral
differences between these two (for example invalidate_inode_pages2() tries
to clean dirty pages using the ->launder_folio method). So I think you'll
need helper like invalidate_bdev2() for this.
That assues that the existing code actually does this intentionally,
which seems doubtful.  But the change in behavior does not to be
documented and explained.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help