[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110408210853.GA12590@infradead.org>
Date: Fri, 8 Apr 2011 17:08:53 -0400
From: Christoph Hellwig <hch@...radead.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Steve Rago <sar@...-labs.com>, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH] Allow O_SYNC to be set by fcntl(F_SETFL)
On Fri, Apr 08, 2011 at 10:56:02AM -0700, Andrew Morton wrote:
> Because it's inconsistent. An O_SYNC fd never has outstanding writeout.
> Except for in this one new and special time window between a setfl()
> and the next write().
It might actually have outstanding writes for as long as it eventually
takes the writeback code to push them out. O_SYNC only does a range
writeout for the area that was written.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists