• Steven Whitehouse's avatar
    [GFS2] Remove the "greedy" function from glock.[ch] · e5dab552
    Steven Whitehouse authored
    The "greedy" code was an attempt to retain glocks for a minimum length
    of time when they relate to mmap()ed files. The current implementation
    of this feature is not, however, ideal in that it required allocating
    memory in order to do this and its overly complicated.
    
    It also misses the mark by ignoring the other I/O operations which are
    just as likely to suffer from the same problem. So the plan is to remove
    this now and then add the functionality back as part of the glock state
    machine at a later date (and thus take into account all the possible
    users of this feature)
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    e5dab552
sys.c 15.1 KB