lkml.org 
[lkml]   [2010]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Fix regression in O_DIRECT|O_SYNC writes to block devices

    Hi,

    > Actually you can just drop this call entirely. sync_blockdev is an
    > overcomplicated alias for filemap_write_and_wait on the block device
    > inode, which is exactl what we did just before calling into ->fsync
    >
    > It might be worth to still drop i_mutex for the cache flush, though.

    Thanks for the feedback Jan + Christoph. New patch on the way.

    Anton


    \
     
     \ /
      Last update: 2010-04-20 04:33    [W:0.023 / U:0.324 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site