From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754893AbZBDXuL (ORCPT ); Wed, 4 Feb 2009 18:50:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758744AbZBDXs5 (ORCPT ); Wed, 4 Feb 2009 18:48:57 -0500 Received: from kroah.org ([198.145.64.141]:36848 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758306AbZBDXs4 (ORCPT ); Wed, 4 Feb 2009 18:48:56 -0500 Date: Wed, 4 Feb 2009 15:41:53 -0800 From: Greg KH To: Andrea Arcangeli Cc: KOSAKI Motohiro , KAMEZAWA Hiroyuki , mtk.manpages@gmail.com, linux-man@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: open(2) says O_DIRECT works on 512 byte boundries? Message-ID: <20090204234153.GA32244@kroah.com> References: <20090128213322.GA15789@kroah.com> <20090129141338.34e44a1f.kamezawa.hiroyu@jp.fujitsu.com> <20090129160826.701E.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20090130061714.GC31209@kroah.com> <20090202220856.GY20323@random.random> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090202220856.GY20323@random.random> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 02, 2009 at 11:08:56PM +0100, Andrea Arcangeli wrote: > Hi Greg! > > > Thanks for the pointers, I'll go read the thread and follow up there. > > If you also run into this final fix is attached below. Porting to > mainline is a bit hard because of gup-fast... Perhaps we can use mmu > notifiers to fix gup-fast... need to think more about it then I'll > post something. > > Please help testing the below on pre-gup-fast kernels, thanks! What kernel version was this patch against? I can't seem to apply it to anything close to mainline :( I tried 2.6.29-rc3, 2.6.28-stable and 2.6.27-stable. thanks, greg k-h