| 4606 | } |
| 4607 | |
| 4608 | void Client::_schedule_invalidate_callback(Inode *in, int64_t off, int64_t len) { |
| 4609 | |
| 4610 | if (ino_invalidate_cb) |
| 4611 | // we queue the invalidate, which calls the callback and decrements the ref |
| 4612 | async_ino_invalidator.queue(new C_Client_CacheInvalidate(this, in, off, len)); |
| 4613 | } |
| 4614 | |
| 4615 | void Client::_invalidate_inode_cache(Inode *in) |
| 4616 | { |