]> Zhao Yanbai Git Server - minix.git/commit
libminixfs: do not flush blocks that are in use 59/3059/1
authorDavid van Moolenbroek <david@minix3.org>
Sun, 29 Mar 2015 12:30:45 +0000 (12:30 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Thu, 13 Aug 2015 13:46:52 +0000 (13:46 +0000)
commitb8f6d4a649d44c98668d0080b8824a48816ae4b0
tree8122e6f1a4936a73e878bf45f0412d09e4dae681
parentcb9453ca6393a8de9fc7dbd468d6ebfa5bc3794a
libminixfs: do not flush blocks that are in use

This removes an implicit requirement for the way the libminixfs API is
to be used, namely that a block is to be marked as dirty only once its
contents have been fully updated, within a single get_block/put_block
window.  The requirement may not be appropriate for all file systems.

Change-Id: I6a129d51b1a5e9aec1572039dc7c1c82dd795db5
minix/lib/libminixfs/cache.c