commit | 1be9f219c5f7d218a6c5cced3ee93c7174a032da | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Mon May 19 19:57:05 2014 -0600 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:57:07 2015 -0800 |
tree | d32468dbfddbbd7a09c778d77a30cbf79afbabe1 | |
parent | f034315cd0db5e1fdc31a1f17049917a67c24bde [diff] |
Add ->invalidate() IO engine ops Allow IO engines to plug in their own invalidate cache handler. This fixes an issue on rbd, where we attempt to invalidate the cache, but fail because it's not a valid file descriptor. Reported-by: xan.peng@gmail.com Signed-off-by: Jens Axboe <axboe@fb.com>