Re: Request for export of truncate_complete_page

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

 



On Tue, Feb 21, 2006 at 12:38:10AM +0200, Oleg Drokin wrote:
> Hello!
> 
>    Can I ask for truncate_complete_page() to be exported?
>    For Lustre filesystem it is necessary to poke out pages in the middle of
>    a file, but truncate_inode_pages() is not very suitable, because we
>    poke those pages one at a time when locks on those pages are cancelled, but
>    we cannot kill entire set of pages as a group, because there might be some
>    other lock that covers a subset of those pages, so we still need to iterate
>    through all of them, and while we are at it, it is easier to kill pages
>    as we check them one by one.

Truncating around inside a file is very fishy, so this would need a review
of cour code.  Once you submit the new lustre client we can discuss exporting
this as _GPL, before we won't export it anyway.

-
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