Re: [PATCH] issue storage device flush via sync_blockdev() (was Re:Linux 2.6.29)

From: Alan Cox
Date: Wed Mar 25 2009 - 18:03:05 EST


> This is a simple step that would cover a lot of cases... sync(2)
> calls sync_blockdev(), and many filesystems do as well via the generic
> filesystem helper file_fsync (fs/sync.c).

file_fsync probably needs to pass down more information so you can make
this a mount option. It's going to depend on the application whether the
flush is good bad or indifferent.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/