Re: [PATCH][RFC] splice support

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

 



>> OK..  Do you plan to make it reject unrecognised flags?
>
>Depends, not sure if eg a 'move' flag should be a hard or soft
>indication. Say we can't move a page and the caller asked us to migrate,
>we'd probably just do the sane thing and copy that one page. It would be
>silly to fail that request entirely.
>

Another bit in the flags:

enum {
    SPLICE_COPY       = 1 << 0,
    SPLICE_MOVE       = 1 << 1,
    SPLICE_MOVEORCOPY = 1 << 2, // fallback to copy if move fails
};


Jan Engelhardt
-- 
-
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