| 4582 | int64_t offset, length; |
| 4583 | public: |
| 4584 | C_Client_CacheInvalidate(Client *c, Inode *in, int64_t off, int64_t len) : |
| 4585 | client(c), offset(off), length(len) { |
| 4586 | if (client->use_faked_inos()) |
| 4587 | ino = vinodeno_t(in->faked_ino, CEPH_NOSNAP); |
| 4588 | else |
| 4589 | ino = in->vino(); |
| 4590 | } |
| 4591 | void finish(int r) override { |
| 4592 | // _async_invalidate takes the lock when it needs to, call this back from outside of lock. |
| 4593 | ceph_assert(ceph_mutex_is_not_locked_by_me(client->client_lock)); |
nothing calls this directly
no test coverage detected