Re: [RFC] sys_punchhole()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 11 Nov 2005, Ingo Oeser wrote:

> > I haven't even heard anyone mention a need for this in the past 1-2 years.
> 
> Because the people need it are usally at the application level.
> It would be useful with hard disk editing.
> 
> But this would need a move_blocks within the filesystem, which
> could attach a given list of blocks to another file.
> 
> E.g. mremap() for files :-)

Something similar to that is included in my patch migration patchsets.

It will also allow you to selectively push pages in a range out. So it 
does something similar to hole punching.

For that you would scan over the range to be cleared and put the pages on 
a list using isolate_lru_page(). Then do whatever you need to with the 
pages. Push em out with migrate_pages(list, NULL) etc.


-
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]
  Powered by Linux