Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755375Ab0KXASB (ORCPT ); Tue, 23 Nov 2010 19:18:01 -0500 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:34764 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754397Ab0KXASA (ORCPT ); Tue, 23 Nov 2010 19:18:00 -0500 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 From: KOSAKI Motohiro To: Ben Gamari Subject: Re: [RFC PATCH] fadvise support in rsync Cc: kosaki.motohiro@jp.fujitsu.com, Minchan Kim , rsync@lists.samba.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Rik van Riel , Andrew Morton , Johannes Weiner , Nick Piggin In-Reply-To: <1290523792-6170-1-git-send-email-bgamari.foss@gmail.com> References: <20101122103756.E236.A69D9226@jp.fujitsu.com> <1290523792-6170-1-git-send-email-bgamari.foss@gmail.com> Message-Id: <20101124090749.7BE8.A69D9226@jp.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.50.07 [ja] Date: Wed, 24 Nov 2010 09:17:56 +0900 (JST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1097 Lines: 23 > Here is my attempt at adding fadvise support to rsync (against v3.0.7). I do > this in both the sender (hinting after match_sums()) and the receiver (hinting > after receive_data()). In principle we could get better granularity if this was > hooked up within match_sums() (or even the map_ptr() interface) and the receive > loop in receive_data(), but I wanted to keep things simple at first (any > comments on these ideas?) . At the moment is for little more than testing. > Considering the potential negative effects of using FADV_DONTNEED on older > kernels, it is likely we will want this functionality off by default with a > command line flag to enable. Great! As far as you don't hesitate userland app, we have no reason to hesitate kernel change. We are only worry about to create no user interface. Because it's maintainance nightmare. -- 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/