On Thursday 01 June 2006 16:20, Olaf Hering wrote:
> 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().
The problem is we need the bit to be set before we set the page up to date. A
locked page will never make it through the readpage() mechanisms and a dirty
page that isn't up to date is not quite legal.
For cramfs, dirty would work I suppose.
-chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]