Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756572Ab0DEUnO (ORCPT ); Mon, 5 Apr 2010 16:43:14 -0400 Received: from verein.lst.de ([213.95.11.210]:55575 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756219Ab0DEUnI (ORCPT ); Mon, 5 Apr 2010 16:43:08 -0400 Date: Mon, 5 Apr 2010 22:42:08 +0200 From: Christoph Hellwig To: Andrew Morton Cc: Anton Blanchard , Jan Kara , Christoph Hellwig , Alexander Viro , Jens Axboe , linux-kernel@vger.kernel.org Subject: Re: [PATCH] raw: fsync method is now required Message-ID: <20100405204208.GA4100@lst.de> References: <20100404004523.GL5594@kryten> <20100405133902.082a6ef7.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100405133902.082a6ef7.akpm@linux-foundation.org> User-Agent: Mutt/1.3.28i X-Spam-Score: 0 () Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 742 Lines: 17 On Mon, Apr 05, 2010 at 01:39:02PM -0700, Andrew Morton wrote: > So if you run fsync() against a /dev/rawX fd you get -EINVAL? erk. > > > We have two options: fix it or remove the raw driver completely. I'm happy > > to do either, the fact this has been broken for so long suggests it is > > rarely used. > > Well. It shows that fsync() is rarely used. The new O_SYNC implementation uses fsync, so O_SYNC users are also affected now. Still shows that either one is relatively rarely used.. -- 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/