On Feb 1 10:48, Christopher Faylor wrote:
> On Tue, Feb 01, 2011 at 09:47:15AM +0100, Corinna Vinschen wrote:
> >On Jan 31 20:44, Christian Franke wrote:
> >> If used on raw devices like /dev/sda fsync() always fails with
> >> EBADRQC (54) because FlushFileBuffers() always fails with
> >> ERROR_IN
On Tue, Feb 01, 2011 at 09:47:15AM +0100, Corinna Vinschen wrote:
>On Jan 31 20:44, Christian Franke wrote:
>> If used on raw devices like /dev/sda fsync() always fails with
>> EBADRQC (54) because FlushFileBuffers() always fails with
>> ERROR_INVALID_FUNCTION (1).
>>
>> The attached patch fixes t
On Jan 31 20:44, Christian Franke wrote:
> If used on raw devices like /dev/sda fsync() always fails with
> EBADRQC (54) because FlushFileBuffers() always fails with
> ERROR_INVALID_FUNCTION (1).
>
> The attached patch fixes this by simply ignoring this error in the
> fhandler_base implementation.
If used on raw devices like /dev/sda fsync() always fails with EBADRQC
(54) because FlushFileBuffers() always fails with ERROR_INVALID_FUNCTION
(1).
The attached patch fixes this by simply ignoring this error in the
fhandler_base implementation. This should not affect any real flush
errors wh