Re: [PATCH] cramfs corruption after BLKFLSBUF on loop device

From: Olaf Hering
Date: Thu Jun 01 2006 - 16:19:49 EST


On Thu, Jun 01, Chris Mason wrote:

> I think this will work (but have not tested it). Another option is to create
> a read_cache_page that pins the page via a page flag
> that invalidate_mapping_pages will honor.

PageLocked or PageDirty, the latter only with a mb().
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/