All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Anton Blanchard <anton@samba.org>, Jan Kara <jack@suse.cz>,
	Christoph Hellwig <hch@lst.de>,
	Alexander Viro <viro@zeniv.linux.org.uk>,
	Jens Axboe <jens.axboe@oracle.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] raw: fsync method is now required
Date: Mon, 5 Apr 2010 22:42:08 +0200	[thread overview]
Message-ID: <20100405204208.GA4100@lst.de> (raw)
In-Reply-To: <20100405133902.082a6ef7.akpm@linux-foundation.org>

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..


  reply	other threads:[~2010-04-05 20:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-04  0:45 [PATCH] raw: fsync method is now required Anton Blanchard
2010-04-05 20:39 ` Andrew Morton
2010-04-05 20:42   ` Christoph Hellwig [this message]
2010-04-06 15:14 ` Jeff Moyer
2010-04-06 15:34 ` Jan Kara
2010-04-06 17:44 ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100405204208.GA4100@lst.de \
    --to=hch@lst.de \
    --cc=akpm@linux-foundation.org \
    --cc=anton@samba.org \
    --cc=jack@suse.cz \
    --cc=jens.axboe@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.