Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932091AbWC3ICZ (ORCPT ); Thu, 30 Mar 2006 03:02:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932093AbWC3ICY (ORCPT ); Thu, 30 Mar 2006 03:02:24 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:49602 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S932091AbWC3ICX (ORCPT ); Thu, 30 Mar 2006 03:02:23 -0500 Date: Thu, 30 Mar 2006 10:02:10 +0200 (MEST) From: Jan Engelhardt To: Jens Axboe cc: Andrew Morton , torvalds@osdl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH][RFC] splice support In-Reply-To: <20060330073342.GK13476@suse.de> Message-ID: References: <20060329122841.GC8186@suse.de> <20060329143758.607c1ccc.akpm@osdl.org> <20060329180830.50666eff.akpm@osdl.org> <20060330072149.GI13476@suse.de> <20060329233037.14a24d4f.akpm@osdl.org> <20060330073342.GK13476@suse.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 746 Lines: 24 >> 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/