[dm-devel] blockdev --flushbufs required [was: parted issue/question

Alasdair G Kergon agk at redhat.com
Wed Jan 18 14:14:42 UTC 2012


On Wed, Jan 18, 2012 at 03:05:14PM +0100, Zdenek Kabelac wrote:
> Just my wild guess it could be related to wrong assumption that close of  
> descriptor means automatic flush - this is only true in the case, there 
> is only one user for descriptor so it would be the last user - but if 
> e.g. the device is opened more then once, then close doesn't mean flush - 
> so I'd have assume some application is missing fsync(fd) before doing 
> close(fd).

Ref. http://www.redhat.com/archives/dm-devel/2012-January/msg00014.html




More information about the dm-devel mailing list