Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 29 Aug 2002 01:41:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 29 Aug 2002 01:41:15 -0400 Received: from smtp02.uc3m.es ([163.117.136.122]:22789 "HELO smtp.uc3m.es") by vger.kernel.org with SMTP id ; Thu, 29 Aug 2002 01:41:14 -0400 From: "Peter T. Breuer" Message-Id: <200208290545.g7T5jUE07536@oboe.it.uc3m.es> Subject: Re: block device/VM question To: thunder@lightweight.ods.org Date: Thu, 29 Aug 2002 07:45:30 +0200 (MET DST) Cc: linux kernel X-Anonymously-To: Reply-To: ptb@it.uc3m.es X-Mailer: ELM [version 2.4ME+ PL66 (25)] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 682 Lines: 18 "A month of sundays ago ptb wrote:" > "A month of sundays ago ptb wrote:" > > "A month of sundays ago Thunder from the hill wrote:" > > > > And for the O_DIRECT flag we seem to do alloc_kiovec(1, &f->f_iobuf). > > > > > > Perhaps we should go biovec here? I've now tried opening the ram disk device O_DIRECT in 2.4.19. Same result as on my driver: every write returns EINVAL. How does one use O_DIRECT? It needs driver support? Peter - 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/