From: Christoph Hellwig Subject: Re: [patch 4/4] mISDN: misc timerdev fixes II Date: Tue, 23 Sep 2008 12:48:00 -0400 Message-ID: <20080923164800.GA3212@infradead.org> References: <200809222151.m8MLp3tb031906@imap1.linux-foundation.org> <20080923104026.GA12535@infradead.org> <20080923043005.358e19e7.akpm@linux-foundation.org> <20080923141740.GJ25711@one.firstfloor.org> <20080923155844.GA30526@infradead.org> <20080923164651.GK25711@one.firstfloor.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , Andrew Morton , kkeil@suse.de, netdev@vger.kernel.org, ak@linux.intel.com To: Andi Kleen Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:54634 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754520AbYIWQsF (ORCPT ); Tue, 23 Sep 2008 12:48:05 -0400 Content-Disposition: inline In-Reply-To: <20080923164651.GK25711@one.firstfloor.org> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Sep 23, 2008 at 06:46:52PM +0200, Andi Kleen wrote: > > Yes, unfortunately the only way it's cleared currently is through using > > nonseekable_open, but I've started preparing a war plan to sort this whole > > mess out. > > Yes it would be much more logical if FMODE_SEEK was cleared on character devices > by default. That is what I assumed with the original patch. Actually I'd prefer to not have by default at all. While all filesystems should support seeking they also can easily set a .llseek instead of the current horrible default. llseek is the only file operation with a default (and a really bad one), and I'd prefer it not to have for consistency.