18 ceph_sb_to_client(inode->
i_sb)->mdsc;
35 dout(
"ceph_lock_message: rule: %d, op: %d, pid: %llu, start: %llu, "
36 "length: %llu, wait: %d, type: %d", (
int)lock_type,
71 ceph_mdsc_put_request(req);
72 dout(
"ceph_lock_message: rule: %d, op: %d, pid: %llu, start: %llu, "
73 "length: %llu, wait: %d, type: %d, err code %d", (
int)lock_type,
75 length, wait, fl->
fl_type, err);
106 err = ceph_lock_message(
CEPH_LOCK_FCNTL, op, file, lock_cmd, wait, fl);
109 dout(
"mds locked, locking locally");
117 dout(
"got %d on posix_lock_file, undid lock",
123 dout(
"undoing lock\n");
153 file, lock_cmd, wait, fl);
160 dout(
"got %d on flock_lock_file_wait, undid lock", err);
163 dout(
"undoing lock\n");
189 dout(
"counted %d flock locks and %d fcntl locks",
190 *flock_count, *fcntl_count);
202 int num_fcntl_locks,
int num_flock_locks)
210 dout(
"encoding %d flock and %d fcntl locks", num_flock_locks,
218 if (seen_fcntl > num_fcntl_locks) {
238 if (seen_flock > num_flock_locks) {