| 13259 | } |
| 13260 | |
| 13261 | int64_t Client::nonblocking_fsync(Inode *in, bool syncdataonly, Context *onfinish) |
| 13262 | { |
| 13263 | C_nonblocking_fsync_state *state = new C_nonblocking_fsync_state(this, in, syncdataonly, onfinish); |
| 13264 | |
| 13265 | ldout(cct, 10) << __func__ << dendl; |
| 13266 | |
| 13267 | std::unique_lock cl(client_lock); |
| 13268 | // Kick fsync off... |
| 13269 | state->advance(); |
| 13270 | return 0; |
| 13271 | } |
| 13272 | |
| 13273 | int Client::_fsync(Inode *in, bool syncdataonly) |
| 13274 | { |
no test coverage detected