Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 4 Oct 2001 14:33:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 4 Oct 2001 14:33:29 -0400 Received: from Aniela.EU.ORG ([194.102.102.235]:1540 "EHLO NS1.Aniela.EU.ORG") by vger.kernel.org with ESMTP id ; Thu, 4 Oct 2001 14:33:26 -0400 Date: Thu, 4 Oct 2001 21:33:52 +0300 (EEST) From: To: Karl Pitrich Cc: "linux-kernel@vger.kernel.org" Subject: Re: 100% sync block device on 2.2 ? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > > > > while :; do sync ; done > > > > > > and everything should be in sync :) > > sync does not call fsync_dev(), nor it calls this flush ioctl i > implemented in my driver. > sync seems just to sync the vfs. from my experience, sync flush all the buffers to disk just like the kernel does when it receies a halt or reboot command. > > - 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/