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

Alan Cox
2009-03-25T22:03:05Z

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