Re: True fsync() in Linux (on IDE)
From: Jens Axboe (axboe_at_suse.de)
Date: 03/18/04
- Previous message: Maneesh Soni: "[RFC 6/6] sysfs backing store v0.3"
- In reply to: Peter Zaitsev: "True fsync() in Linux (on IDE)"
- Next in thread: Matthias Andree: "Re: True fsync() in Linux (on IDE)"
- Reply: Matthias Andree: "Re: True fsync() in Linux (on IDE)"
- Reply: Peter Zaitsev: "Re: True fsync() in Linux (on IDE)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 18 Mar 2004 07:47:58 +0100 To: Peter Zaitsev <peter@mysql.com>
On Wed, Mar 17 2004, Peter Zaitsev wrote:
> Hello,
>
> I'm wondering is there any way in Linux to do proper fsync(), which
> makes sure data is written to the disk.
>
> Currently on IDE devices one can see, fsync() only flushes data to the
> drive cache which is not enough for ACID guaranties database server must
> give.
>
> There is solution just to disable drive write cache, but it seems to
> slowdown performance way to much.
Chris and I have working real fsync() with the barrier patches. I'll
clean it up and post a patch for vanilla 2.6.5-rc today.
-- Jens Axboe - 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/
- Previous message: Maneesh Soni: "[RFC 6/6] sysfs backing store v0.3"
- In reply to: Peter Zaitsev: "True fsync() in Linux (on IDE)"
- Next in thread: Matthias Andree: "Re: True fsync() in Linux (on IDE)"
- Reply: Matthias Andree: "Re: True fsync() in Linux (on IDE)"
- Reply: Peter Zaitsev: "Re: True fsync() in Linux (on IDE)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|