glusterfs  8.2
About: GlusterFS is a network/cluster filesystem. The storage server (or each in a cluster) runs glusterfsd and the clients use mount command or glusterfs client to mount the exported filesystem. Release series 8.x (latest version).
  Fossies Dox: glusterfs-8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

defaults.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 2008-2015 Red Hat, Inc. <http://www.redhat.com>
3  This file is part of GlusterFS.
4 
5  This file is licensed to you under your choice of the GNU Lesser
6  General Public License, version 3 or any later version (LGPLv3 or
7  later), or the GNU General Public License, version 2 (GPLv2), in all
8  cases as published by the Free Software Foundation.
9 */
10 
11 /* libglusterfs/src/defaults.h:
12  This file contains definition of default fops and mops functions.
13 */
14 
15 #ifndef _DEFAULTS_H
16 #define _DEFAULTS_H
17 
18 #include "glusterfs/xlator.h"
19 
20 typedef struct {
21  int op_ret;
22  int op_errno;
23  inode_t *inode;
24  struct iatt stat;
25  struct iatt prestat;
26  struct iatt poststat;
27  struct iatt preparent; /* @preoldparent in rename_cbk */
28  struct iatt postparent; /* @postoldparent in rename_cbk */
29  struct iatt preparent2; /* @prenewparent in rename_cbk */
30  struct iatt postparent2; /* @postnewparent in rename_cbk */
31  const char *buf;
32  struct iovec *vector;
33  int count;
34  struct iobref *iobref;
35  fd_t *fd;
36  struct statvfs statvfs;
38  struct gf_flock lock;
39  uint32_t weak_checksum;
40  uint8_t *strong_checksum;
43  off_t offset; /* seek hole/data */
44  int valid; /* If the response is valid or not. For call-stub it is
45  always valid irrespective of this */
46  struct gf_lease lease;
49 
50 typedef struct {
51  loc_t loc; /* @old in rename(), link() */
52  loc_t loc2; /* @new in rename(), link() */
53  fd_t *fd; /* for all the fd based ops */
54  fd_t *fd_dst; /* Only for copy_file_range destination */
55  off_t offset;
56  /*
57  * According to the man page of copy_file_range,
58  * the offsets for source and destination file
59  * are of type loff_t. But the type loff_t is
60  * linux specific and is actual a typedef of
61  * off64_t.
62  */
63  off64_t off_in; /* For copy_file_range source fd */
64  off64_t off_out; /* For copy_file_range destination fd only */
65  int mask;
66  size_t size;
67  mode_t mode;
68  dev_t rdev;
69  mode_t umask;
70  int xflag;
71  int flags;
72  const char *linkname;
73  struct iovec *vector;
74  int count;
75  struct iobref *iobref;
76  int datasync;
78  const char *name;
79  int cmd;
80  struct gf_flock lock;
81  const char *volume;
85  int valid;
86  struct iatt stat;
89  struct gf_lease lease;
92 
93 typedef struct {
94  int fop_enum;
95  unsigned int fop_length;
96  int *enum_list;
100 
101 typedef struct {
102  int fop_enum;
103  unsigned int fop_length;
104  int *enum_list;
108 
109 int32_t
110 default_notify(xlator_t *this, int32_t event, void *data, ...);
111 
112 int32_t
113 default_forget(xlator_t *this, inode_t *inode);
114 
115 int32_t
116 default_release(xlator_t *this, fd_t *fd);
117 
118 int32_t
119 default_releasedir(xlator_t *this, fd_t *fd);
120 
121 extern struct xlator_fops *default_fops;
122 
123 /* Management Operations */
124 
125 int32_t
126 default_getspec(call_frame_t *frame, xlator_t *this, const char *key,
127  int32_t flag);
128 
129 int32_t
130 default_rchecksum(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset,
131  int32_t len, dict_t *xdata);
132 
133 /* FileSystem operations */
134 int32_t
135 default_lookup(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata);
136 
137 int32_t
138 default_stat(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata);
139 
140 int32_t
141 default_fstat(call_frame_t *frame, xlator_t *this, fd_t *fd, dict_t *xdata);
142 
143 int32_t
144 default_truncate(call_frame_t *frame, xlator_t *this, loc_t *loc, off_t offset,
145  dict_t *xdata);
146 
147 int32_t
148 default_ftruncate(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset,
149  dict_t *xdata);
150 
151 int32_t
152 default_access(call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t mask,
153  dict_t *xdata);
154 
155 int32_t
156 default_readlink(call_frame_t *frame, xlator_t *this, loc_t *loc, size_t size,
157  dict_t *xdata);
158 
159 int32_t
160 default_mknod(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode,
161  dev_t rdev, mode_t umask, dict_t *xdata);
162 
163 int32_t
164 default_mkdir(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode,
165  mode_t umask, dict_t *xdata);
166 
167 int32_t
168 default_unlink(call_frame_t *frame, xlator_t *this, loc_t *loc, int xflag,
169  dict_t *xdata);
170 
171 int32_t
172 default_rmdir(call_frame_t *frame, xlator_t *this, loc_t *loc, int xflag,
173  dict_t *xdata);
174 
175 int32_t
176 default_symlink(call_frame_t *frame, xlator_t *this, const char *linkpath,
177  loc_t *loc, mode_t umask, dict_t *xdata);
178 
179 int32_t
180 default_rename(call_frame_t *frame, xlator_t *this, loc_t *oldloc,
181  loc_t *newloc, dict_t *xdata);
182 
183 int32_t
184 default_link(call_frame_t *frame, xlator_t *this, loc_t *oldloc, loc_t *newloc,
185  dict_t *xdata);
186 
187 int32_t
188 default_create(call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags,
189  mode_t mode, mode_t umask, fd_t *fd, dict_t *xdata);
190 
191 int32_t
192 default_open(call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags,
193  fd_t *fd, dict_t *xdata);
194 
195 int32_t
196 default_readv(call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size,
197  off_t offset, uint32_t flags, dict_t *xdata);
198 
199 int32_t
201  struct iovec *vector, int32_t count, off_t offset,
202  uint32_t flags, struct iobref *iobref, dict_t *xdata);
203 
204 int32_t
205 default_flush(call_frame_t *frame, xlator_t *this, fd_t *fd, dict_t *xdata);
206 
207 int32_t
208 default_fsync(call_frame_t *frame, xlator_t *this, fd_t *fd, int32_t datasync,
209  dict_t *xdata);
210 
211 int32_t
212 default_opendir(call_frame_t *frame, xlator_t *this, loc_t *loc, fd_t *fd,
213  dict_t *xdata);
214 
215 int32_t
217  int32_t datasync, dict_t *xdata);
218 
219 int32_t
220 default_statfs(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata);
221 
222 int32_t
223 default_setxattr(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *dict,
224  int32_t flags, dict_t *xdata);
225 
226 int32_t
228  const char *name, dict_t *xdata);
229 
230 int32_t
232  int32_t flags, dict_t *xdata);
233 
234 int32_t
236  const char *name, dict_t *xdata);
237 
238 int32_t
240  const char *name, dict_t *xdata);
241 
242 int32_t
244  const char *name, dict_t *xdata);
245 
246 int32_t
247 default_lk(call_frame_t *frame, xlator_t *this, fd_t *fd, int32_t cmd,
248  struct gf_flock *flock, dict_t *xdata);
249 
250 int32_t
251 default_inodelk(call_frame_t *frame, xlator_t *this, const char *volume,
252  loc_t *loc, int32_t cmd, struct gf_flock *flock, dict_t *xdata);
253 
254 int32_t
255 default_finodelk(call_frame_t *frame, xlator_t *this, const char *volume,
256  fd_t *fd, int32_t cmd, struct gf_flock *flock, dict_t *xdata);
257 
258 int32_t
259 default_entrylk(call_frame_t *frame, xlator_t *this, const char *volume,
260  loc_t *loc, const char *basename, entrylk_cmd cmd,
261  entrylk_type type, dict_t *xdata);
262 
263 int32_t
264 default_fentrylk(call_frame_t *frame, xlator_t *this, const char *volume,
265  fd_t *fd, const char *basename, entrylk_cmd cmd,
266  entrylk_type type, dict_t *xdata);
267 
268 int32_t
269 default_readdir(call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size,
270  off_t off, dict_t *xdata);
271 
272 int32_t
273 default_readdirp(call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size,
274  off_t off, dict_t *xdata);
275 
276 int32_t
278  gf_xattrop_flags_t flags, dict_t *dict, dict_t *xdata);
279 
280 int32_t
282  gf_xattrop_flags_t flags, dict_t *dict, dict_t *xdata);
283 
284 int32_t
286  struct iatt *stbuf, int32_t valid, dict_t *xdata);
287 
288 int32_t
290  struct iatt *stbuf, int32_t valid, dict_t *xdata);
291 
292 int32_t
294  int32_t keep_size, off_t offset, size_t len, dict_t *xdata);
295 
296 int32_t
297 default_discard(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset,
298  size_t len, dict_t *xdata);
299 
300 int32_t
301 default_zerofill(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset,
302  off_t len, dict_t *xdata);
303 
304 int32_t
305 default_ipc(call_frame_t *frame, xlator_t *this, int32_t op, dict_t *xdata);
306 
307 int32_t
308 default_seek(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset,
309  gf_seek_what_t what, dict_t *xdata);
310 
311 int32_t
313  struct gf_lease *lease, dict_t *xdata);
314 
315 int32_t
317  dict_t *xdata);
318 
319 int32_t
321  lock_migration_info_t *locklist, dict_t *xdata);
322 
323 int32_t
324 default_put(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode,
325  mode_t umask, uint32_t flags, struct iovec *vector, int32_t count,
326  off_t off, struct iobref *iobref, dict_t *xattr, dict_t *xdata);
327 
328 int32_t
329 default_icreate(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode,
330  dict_t *xdata);
331 
332 int32_t
334  dict_t *xdata);
335 
336 int32_t
338  off64_t off_in, fd_t *fd_out, off64_t off_out,
339  size_t len, uint32_t flags, dict_t *xdata);
340 
341 /* Resume */
342 int32_t
343 default_getspec_resume(call_frame_t *frame, xlator_t *this, const char *key,
344  int32_t flag);
345 
346 int32_t
348  off_t offset, int32_t len, dict_t *xdata);
349 
350 /* FileSystem operations */
351 int32_t
353  dict_t *xdata);
354 
355 int32_t
357  dict_t *xdata);
358 
359 int32_t
361  dict_t *xdata);
362 
363 int32_t
365  off_t offset, dict_t *xdata);
366 
367 int32_t
369  off_t offset, dict_t *xdata);
370 
371 int32_t
373  int32_t mask, dict_t *xdata);
374 
375 int32_t
377  size_t size, dict_t *xdata);
378 
379 int32_t
381  mode_t mode, dev_t rdev, mode_t umask, dict_t *xdata);
382 
383 int32_t
385  mode_t mode, mode_t umask, dict_t *xdata);
386 
387 int32_t
389  int xflag, dict_t *xdata);
390 
391 int32_t
392 default_rmdir_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, int xflag,
393  dict_t *xdata);
394 
395 int32_t
397  const char *linkpath, loc_t *loc, mode_t umask,
398  dict_t *xdata);
399 
400 int32_t
402  loc_t *newloc, dict_t *xdata);
403 
404 int32_t
406  loc_t *newloc, dict_t *xdata);
407 
408 int32_t
410  int32_t flags, mode_t mode, mode_t umask, fd_t *fd,
411  dict_t *xdata);
412 
413 int32_t
415  int32_t flags, fd_t *fd, dict_t *xdata);
416 
417 int32_t
418 default_readv_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size,
419  off_t offset, uint32_t flags, dict_t *xdata);
420 
421 int32_t
423  struct iovec *vector, int32_t count, off_t offset,
424  uint32_t flags, struct iobref *iobref, dict_t *xdata);
425 
426 int32_t
428  dict_t *xdata);
429 
430 int32_t
432  int32_t datasync, dict_t *xdata);
433 
434 int32_t
436  fd_t *fd, dict_t *xdata);
437 
438 int32_t
440  int32_t datasync, dict_t *xdata);
441 
442 int32_t
444  dict_t *xdata);
445 
446 int32_t
448  dict_t *dict, int32_t flags, dict_t *xdata);
449 
450 int32_t
452  const char *name, dict_t *xdata);
453 
454 int32_t
456  dict_t *dict, int32_t flags, dict_t *xdata);
457 
458 int32_t
460  const char *name, dict_t *xdata);
461 
462 int32_t
464  const char *name, dict_t *xdata);
465 
466 int32_t
468  const char *name, dict_t *xdata);
469 
470 int32_t
471 default_lk_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, int32_t cmd,
472  struct gf_flock *flock, dict_t *xdata);
473 
474 int32_t
475 default_inodelk_resume(call_frame_t *frame, xlator_t *this, const char *volume,
476  loc_t *loc, int32_t cmd, struct gf_flock *flock,
477  dict_t *xdata);
478 
479 int32_t
480 default_finodelk_resume(call_frame_t *frame, xlator_t *this, const char *volume,
481  fd_t *fd, int32_t cmd, struct gf_flock *flock,
482  dict_t *xdata);
483 
484 int32_t
485 default_entrylk_resume(call_frame_t *frame, xlator_t *this, const char *volume,
486  loc_t *loc, const char *basename, entrylk_cmd cmd,
487  entrylk_type type, dict_t *xdata);
488 
489 int32_t
490 default_fentrylk_resume(call_frame_t *frame, xlator_t *this, const char *volume,
491  fd_t *fd, const char *basename, entrylk_cmd cmd,
492  entrylk_type type, dict_t *xdata);
493 
494 int32_t
496  size_t size, off_t off, dict_t *xdata);
497 
498 int32_t
500  size_t size, off_t off, dict_t *xdata);
501 
502 int32_t
504  gf_xattrop_flags_t flags, dict_t *dict, dict_t *xdata);
505 
506 int32_t
508  gf_xattrop_flags_t flags, dict_t *dict, dict_t *xdata);
509 int32_t
511  off_t offset, int32_t len, dict_t *xdata);
512 
513 int32_t
515  struct iatt *stbuf, int32_t valid, dict_t *xdata);
516 
517 int32_t
519  struct iatt *stbuf, int32_t valid, dict_t *xdata);
520 
521 int32_t
523  int32_t keep_size, off_t offset, size_t len,
524  dict_t *xdata);
525 
526 int32_t
528  off_t offset, size_t len, dict_t *xdata);
529 
530 int32_t
532  off_t offset, off_t len, dict_t *xdata);
533 
534 int32_t
536  dict_t *xdata);
537 
538 int32_t
539 default_seek_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset,
540  gf_seek_what_t what, dict_t *xdata);
541 
542 int32_t
544  struct gf_lease *lease, dict_t *xdata);
545 
546 int32_t
548  dict_t *xdata);
549 
550 int32_t
552  lock_migration_info_t *locklist, dict_t *xdata);
553 
554 int32_t
555 default_put_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode,
556  mode_t umask, uint32_t flags, struct iovec *vector,
557  int32_t count, off_t off, struct iobref *iobref,
558  dict_t *xattr, dict_t *xdata);
559 
560 int32_t
562  off_t off64_in, fd_t *fd_out, off64_t off_out,
563  size_t len, uint32_t flags, dict_t *xdata);
564 
565 /* _cbk_resume */
566 
567 int32_t
568 default_lookup_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
569  int32_t op_ret, int32_t op_errno, inode_t *inode,
570  struct iatt *buf, dict_t *xdata,
571  struct iatt *postparent);
572 
573 int32_t
574 default_stat_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
575  int32_t op_ret, int32_t op_errno, struct iatt *buf,
576  dict_t *xdata);
577 
578 int32_t
580  int32_t op_ret, int32_t op_errno,
581  struct iatt *prebuf, struct iatt *postbuf,
582  dict_t *xdata);
583 
584 int32_t
586  int32_t op_ret, int32_t op_errno,
587  struct iatt *prebuf, struct iatt *postbuf,
588  dict_t *xdata);
589 
590 int32_t
591 default_access_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
592  int32_t op_ret, int32_t op_errno, dict_t *xdata);
593 
594 int32_t
596  int32_t op_ret, int32_t op_errno, const char *path,
597  struct iatt *buf, dict_t *xdata);
598 
599 int32_t
600 default_mknod_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
601  int32_t op_ret, int32_t op_errno, inode_t *inode,
602  struct iatt *buf, struct iatt *preparent,
603  struct iatt *postparent, dict_t *xdata);
604 
605 int32_t
606 default_mkdir_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
607  int32_t op_ret, int32_t op_errno, inode_t *inode,
608  struct iatt *buf, struct iatt *preparent,
609  struct iatt *postparent, dict_t *xdata);
610 
611 int32_t
612 default_unlink_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
613  int32_t op_ret, int32_t op_errno,
614  struct iatt *preparent, struct iatt *postparent,
615  dict_t *xdata);
616 
617 int32_t
618 default_rmdir_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
619  int32_t op_ret, int32_t op_errno,
620  struct iatt *preparent, struct iatt *postparent,
621  dict_t *xdata);
622 
623 int32_t
625  int32_t op_ret, int32_t op_errno, inode_t *inode,
626  struct iatt *buf, struct iatt *preparent,
627  struct iatt *postparent, dict_t *xdata);
628 
629 int32_t
630 default_rename_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
631  int32_t op_ret, int32_t op_errno, struct iatt *buf,
632  struct iatt *preoldparent, struct iatt *postoldparent,
633  struct iatt *prenewparent, struct iatt *postnewparent,
634  dict_t *xdata);
635 
636 int32_t
637 default_link_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
638  int32_t op_ret, int32_t op_errno, inode_t *inode,
639  struct iatt *buf, struct iatt *preparent,
640  struct iatt *postparent, dict_t *xdata);
641 
642 int32_t
643 default_create_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
644  int32_t op_ret, int32_t op_errno, fd_t *fd,
645  inode_t *inode, struct iatt *buf,
646  struct iatt *preparent, struct iatt *postparent,
647  dict_t *xdata);
648 
649 int32_t
650 default_open_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
651  int32_t op_ret, int32_t op_errno, fd_t *fd,
652  dict_t *xdata);
653 
654 int32_t
655 default_readv_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
656  int32_t op_ret, int32_t op_errno, struct iovec *vector,
657  int32_t count, struct iatt *stbuf,
658  struct iobref *iobref, dict_t *xdata);
659 
660 int32_t
661 default_writev_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
662  int32_t op_ret, int32_t op_errno, struct iatt *prebuf,
663  struct iatt *postbuf, dict_t *xdata);
664 
665 int32_t
666 default_flush_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
667  int32_t op_ret, int32_t op_errno, dict_t *xdata);
668 
669 int32_t
670 default_fsync_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
671  int32_t op_ret, int32_t op_errno, struct iatt *prebuf,
672  struct iatt *postbuf, dict_t *xdata);
673 
674 int32_t
675 default_fstat_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
676  int32_t op_ret, int32_t op_errno, struct iatt *buf,
677  dict_t *xdata);
678 
679 int32_t
681  int32_t op_ret, int32_t op_errno, fd_t *fd,
682  dict_t *xdata);
683 
684 int32_t
686  int32_t op_ret, int32_t op_errno, dict_t *xdata);
687 
688 int32_t
689 default_statfs_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
690  int32_t op_ret, int32_t op_errno, struct statvfs *buf,
691  dict_t *xdata);
692 
693 int32_t
695  int32_t op_ret, int32_t op_errno, dict_t *xdata);
696 
697 int32_t
699  int32_t op_ret, int32_t op_errno, dict_t *xdata);
700 
701 int32_t
703  int32_t op_ret, int32_t op_errno, dict_t *dict,
704  dict_t *xdata);
705 
706 int32_t
708  int32_t op_ret, int32_t op_errno, dict_t *dict,
709  dict_t *xdata);
710 
711 int32_t
713  int32_t op_ret, int32_t op_errno, dict_t *dict,
714  dict_t *xdata);
715 
716 int32_t
718  int32_t op_ret, int32_t op_errno, dict_t *dict,
719  dict_t *xdata);
720 
721 int32_t
723  xlator_t *this, int32_t op_ret, int32_t op_errno,
724  dict_t *xdata);
725 
726 int32_t
728  xlator_t *this, int32_t op_ret,
729  int32_t op_errno, dict_t *xdata);
730 
731 int32_t
732 default_lk_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
733  int32_t op_ret, int32_t op_errno, struct gf_flock *lock,
734  dict_t *xdata);
735 
736 int32_t
738  int32_t op_ret, int32_t op_errno, dict_t *xdata);
739 
740 int32_t
742  int32_t op_ret, int32_t op_errno, dict_t *xdata);
743 
744 int32_t
746  int32_t op_ret, int32_t op_errno, dict_t *xdata);
747 
748 int32_t
750  int32_t op_ret, int32_t op_errno, dict_t *xdata);
751 
752 int32_t
754  int32_t op_ret, int32_t op_errno,
755  uint32_t weak_checksum, uint8_t *strong_checksum,
756  dict_t *xdata);
757 
758 int32_t
760  int32_t op_ret, int32_t op_errno,
761  gf_dirent_t *entries, dict_t *xdata);
762 
763 int32_t
765  int32_t op_ret, int32_t op_errno,
766  gf_dirent_t *entries, dict_t *xdata);
767 
768 int32_t
770  int32_t op_ret, int32_t op_errno,
771  struct iatt *statpre, struct iatt *statpost,
772  dict_t *xdata);
773 
774 int32_t
776  int32_t op_ret, int32_t op_errno,
777  struct iatt *statpre, struct iatt *statpost,
778  dict_t *xdata);
779 
780 int32_t
782  int32_t op_ret, int32_t op_errno, struct iatt *pre,
783  struct iatt *post, dict_t *xdata);
784 
785 int32_t
787  int32_t op_ret, int32_t op_errno, struct iatt *pre,
788  struct iatt *post, dict_t *xdata);
789 
790 int32_t
792  int32_t op_ret, int32_t op_errno, struct iatt *pre,
793  struct iatt *post, dict_t *xdata);
794 int32_t
795 default_ipc_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
796  int32_t op_ret, int32_t op_errno, dict_t *xdata);
797 
798 int32_t
799 default_seek_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
800  int32_t op_ret, int32_t op_errno, off_t offset,
801  dict_t *xdata);
802 
803 int32_t
805  int32_t op_ret, int32_t op_errno, char *spec_data);
806 
807 int32_t
808 default_lease_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
809  int32_t op_ret, int32_t op_errno,
810  struct gf_lease *lease, dict_t *xdata);
811 
812 int32_t
814  xlator_t *this, int32_t op_ret, int32_t op_errno,
815  lock_migration_info_t *locklist, dict_t *xdata);
816 
817 int32_t
819  xlator_t *this, int32_t op_ret, int32_t op_errno,
820  dict_t *xdata);
821 
822 int32_t
823 default_put_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this,
824  int32_t op_ret, int32_t op_errno, inode_t *inode,
825  struct iatt *buf, struct iatt *preparent,
826  struct iatt *postparent, dict_t *xdata);
827 
828 int32_t
830  mode_t mode, dict_t *xdata);
831 
832 int32_t
834  dict_t *xdata);
835 
836 int32_t
838  xlator_t *this, int32_t op_ret,
839  int32_t op_errno, struct iatt *stbuf,
840  struct iatt *prebuf_dst,
841  struct iatt *postbuf_dst, dict_t *xdata);
842 
843 /* _CBK */
844 int32_t
845 default_lookup_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
846  int32_t op_ret, int32_t op_errno, inode_t *inode,
847  struct iatt *buf, dict_t *xdata, struct iatt *postparent);
848 
849 int32_t
850 default_stat_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
851  int32_t op_ret, int32_t op_errno, struct iatt *buf,
852  dict_t *xdata);
853 
854 int32_t
855 default_truncate_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
856  int32_t op_ret, int32_t op_errno, struct iatt *prebuf,
857  struct iatt *postbuf, dict_t *xdata);
858 
859 int32_t
860 default_ftruncate_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
861  int32_t op_ret, int32_t op_errno, struct iatt *prebuf,
862  struct iatt *postbuf, dict_t *xdata);
863 
864 int32_t
865 default_access_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
866  int32_t op_ret, int32_t op_errno, dict_t *xdata);
867 
868 int32_t
869 default_readlink_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
870  int32_t op_ret, int32_t op_errno, const char *path,
871  struct iatt *buf, dict_t *xdata);
872 
873 int32_t
874 default_mknod_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
875  int32_t op_ret, int32_t op_errno, inode_t *inode,
876  struct iatt *buf, struct iatt *preparent,
877  struct iatt *postparent, dict_t *xdata);
878 
879 int32_t
880 default_mkdir_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
881  int32_t op_ret, int32_t op_errno, inode_t *inode,
882  struct iatt *buf, struct iatt *preparent,
883  struct iatt *postparent, dict_t *xdata);
884 
885 int32_t
886 default_unlink_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
887  int32_t op_ret, int32_t op_errno, struct iatt *preparent,
888  struct iatt *postparent, dict_t *xdata);
889 
890 int32_t
891 default_rmdir_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
892  int32_t op_ret, int32_t op_errno, struct iatt *preparent,
893  struct iatt *postparent, dict_t *xdata);
894 
895 int32_t
896 default_symlink_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
897  int32_t op_ret, int32_t op_errno, inode_t *inode,
898  struct iatt *buf, struct iatt *preparent,
899  struct iatt *postparent, dict_t *xdata);
900 
901 int32_t
902 default_rename_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
903  int32_t op_ret, int32_t op_errno, struct iatt *buf,
904  struct iatt *preoldparent, struct iatt *postoldparent,
905  struct iatt *prenewparent, struct iatt *postnewparent,
906  dict_t *xdata);
907 
908 int32_t
909 default_link_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
910  int32_t op_ret, int32_t op_errno, inode_t *inode,
911  struct iatt *buf, struct iatt *preparent,
912  struct iatt *postparent, dict_t *xdata);
913 
914 int32_t
915 default_create_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
916  int32_t op_ret, int32_t op_errno, fd_t *fd, inode_t *inode,
917  struct iatt *buf, struct iatt *preparent,
918  struct iatt *postparent, dict_t *xdata);
919 
920 int32_t
921 default_open_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
922  int32_t op_ret, int32_t op_errno, fd_t *fd, dict_t *xdata);
923 
924 int32_t
925 default_readv_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
926  int32_t op_ret, int32_t op_errno, struct iovec *vector,
927  int32_t count, struct iatt *stbuf, struct iobref *iobref,
928  dict_t *xdata);
929 
930 int32_t
931 default_writev_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
932  int32_t op_ret, int32_t op_errno, struct iatt *prebuf,
933  struct iatt *postbuf, dict_t *xdata);
934 
935 int32_t
936 default_flush_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
937  int32_t op_ret, int32_t op_errno, dict_t *xdata);
938 
939 int32_t
940 default_fsync_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
941  int32_t op_ret, int32_t op_errno, struct iatt *prebuf,
942  struct iatt *postbuf, dict_t *xdata);
943 
944 int32_t
945 default_fstat_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
946  int32_t op_ret, int32_t op_errno, struct iatt *buf,
947  dict_t *xdata);
948 
949 int32_t
950 default_opendir_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
951  int32_t op_ret, int32_t op_errno, fd_t *fd, dict_t *xdata);
952 
953 int32_t
954 default_fsyncdir_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
955  int32_t op_ret, int32_t op_errno, dict_t *xdata);
956 
957 int32_t
958 default_statfs_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
959  int32_t op_ret, int32_t op_errno, struct statvfs *buf,
960  dict_t *xdata);
961 
962 int32_t
963 default_setxattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
964  int32_t op_ret, int32_t op_errno, dict_t *xdata);
965 
966 int32_t
967 default_fsetxattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
968  int32_t op_ret, int32_t op_errno, dict_t *xdata);
969 
970 int32_t
971 default_fgetxattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
972  int32_t op_ret, int32_t op_errno, dict_t *dict,
973  dict_t *xdata);
974 
975 int32_t
976 default_getxattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
977  int32_t op_ret, int32_t op_errno, dict_t *dict,
978  dict_t *xdata);
979 
980 int32_t
981 default_xattrop_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
982  int32_t op_ret, int32_t op_errno, dict_t *dict,
983  dict_t *xdata);
984 
985 int32_t
986 default_fxattrop_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
987  int32_t op_ret, int32_t op_errno, dict_t *dict,
988  dict_t *xdata);
989 
990 int32_t
991 default_removexattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
992  int32_t op_ret, int32_t op_errno, dict_t *xdata);
993 
994 int32_t
995 default_fremovexattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
996  int32_t op_ret, int32_t op_errno, dict_t *xdata);
997 
998 int32_t
999 default_lk_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1000  int32_t op_ret, int32_t op_errno, struct gf_flock *lock,
1001  dict_t *xdata);
1002 
1003 int32_t
1004 default_inodelk_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1005  int32_t op_ret, int32_t op_errno, dict_t *xdata);
1006 
1007 int32_t
1008 default_finodelk_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1009  int32_t op_ret, int32_t op_errno, dict_t *xdata);
1010 
1011 int32_t
1012 default_entrylk_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1013  int32_t op_ret, int32_t op_errno, dict_t *xdata);
1014 
1015 int32_t
1016 default_fentrylk_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1017  int32_t op_ret, int32_t op_errno, dict_t *xdata);
1018 
1019 int32_t
1020 default_rchecksum_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1021  int32_t op_ret, int32_t op_errno, uint32_t weak_checksum,
1022  uint8_t *strong_checksum, dict_t *xdata);
1023 
1024 int32_t
1025 default_readdir_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1026  int32_t op_ret, int32_t op_errno, gf_dirent_t *entries,
1027  dict_t *xdata);
1028 
1029 int32_t
1030 default_readdirp_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1031  int32_t op_ret, int32_t op_errno, gf_dirent_t *entries,
1032  dict_t *xdata);
1033 
1034 int32_t
1035 default_setattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1036  int32_t op_ret, int32_t op_errno, struct iatt *statpre,
1037  struct iatt *statpost, dict_t *xdata);
1038 
1039 int32_t
1040 default_fsetattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1041  int32_t op_ret, int32_t op_errno, struct iatt *statpre,
1042  struct iatt *statpost, dict_t *xdata);
1043 
1044 int32_t
1045 default_fallocate_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1046  int32_t op_ret, int32_t op_errno, struct iatt *pre,
1047  struct iatt *post, dict_t *xdata);
1048 
1049 int32_t
1050 default_discard_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1051  int32_t op_ret, int32_t op_errno, struct iatt *pre,
1052  struct iatt *post, dict_t *xdata);
1053 
1054 int32_t
1055 default_zerofill_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1056  int32_t op_ret, int32_t op_errno, struct iatt *pre,
1057  struct iatt *post, dict_t *xdata);
1058 
1059 int32_t
1060 default_ipc_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1061  int32_t op_ret, int32_t op_errno, dict_t *xdata);
1062 
1063 int32_t
1064 default_seek_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1065  int32_t op_ret, int32_t op_errno, off_t offset, dict_t *xdata);
1066 
1067 int32_t
1068 default_getspec_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1069  int32_t op_ret, int32_t op_errno, char *spec_data);
1070 
1071 int32_t
1072 default_lease_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1073  int32_t op_ret, int32_t op_errno, struct gf_lease *lease,
1074  dict_t *xdata);
1075 
1076 int32_t
1077 default_getactivelk_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1078  int32_t op_ret, int32_t op_errno,
1079  lock_migration_info_t *locklist, dict_t *xdata);
1080 
1081 int32_t
1082 default_setactivelk_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1083  int32_t op_ret, int32_t op_errno, dict_t *xdata);
1084 
1085 int32_t
1086 default_put_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1087  int32_t op_ret, int32_t op_errno, inode_t *inode,
1088  struct iatt *buf, struct iatt *preparent,
1089  struct iatt *postparent, dict_t *xdata);
1090 
1091 int32_t
1092 default_icreate_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1093  int32_t op_ret, int32_t op_errno, inode_t *inode,
1094  struct iatt *buf, dict_t *xdata);
1095 
1096 int32_t
1097 default_namelink_cbk(call_frame_t *frame, void *cookie, xlator_t *this,
1098  int32_t op_ret, int32_t op_errno, struct iatt *prebuf,
1099  struct iatt *postbuf, dict_t *xdata);
1100 
1101 int32_t
1103  int32_t op_ret, int32_t op_errno,
1104  struct iatt *stbuf, struct iatt *prebuf_dst,
1105  struct iatt *postbuf_dst, dict_t *xdata);
1106 
1107 int32_t
1108 default_lookup_failure_cbk(call_frame_t *frame, int32_t op_errno);
1109 
1110 int32_t
1111 default_stat_failure_cbk(call_frame_t *frame, int32_t op_errno);
1112 
1113 int32_t
1114 default_truncate_failure_cbk(call_frame_t *frame, int32_t op_errno);
1115 
1116 int32_t
1118 
1119 int32_t
1120 default_access_failure_cbk(call_frame_t *frame, int32_t op_errno);
1121 
1122 int32_t
1123 default_readlink_failure_cbk(call_frame_t *frame, int32_t op_errno);
1124 
1125 int32_t
1126 default_mknod_failure_cbk(call_frame_t *frame, int32_t op_errno);
1127 
1128 int32_t
1129 default_mkdir_failure_cbk(call_frame_t *frame, int32_t op_errno);
1130 
1131 int32_t
1132 default_unlink_failure_cbk(call_frame_t *frame, int32_t op_errno);
1133 
1134 int32_t
1135 default_rmdir_failure_cbk(call_frame_t *frame, int32_t op_errno);
1136 
1137 int32_t
1138 default_symlink_failure_cbk(call_frame_t *frame, int32_t op_errno);
1139 
1140 int32_t
1141 default_rename_failure_cbk(call_frame_t *frame, int32_t op_errno);
1142 
1143 int32_t
1144 default_link_failure_cbk(call_frame_t *frame, int32_t op_errno);
1145 
1146 int32_t
1147 default_create_failure_cbk(call_frame_t *frame, int32_t op_errno);
1148 
1149 int32_t
1150 default_open_failure_cbk(call_frame_t *frame, int32_t op_errno);
1151 
1152 int32_t
1153 default_readv_failure_cbk(call_frame_t *frame, int32_t op_errno);
1154 
1155 int32_t
1156 default_writev_failure_cbk(call_frame_t *frame, int32_t op_errno);
1157 
1158 int32_t
1159 default_flush_failure_cbk(call_frame_t *frame, int32_t op_errno);
1160 
1161 int32_t
1162 default_fsync_failure_cbk(call_frame_t *frame, int32_t op_errno);
1163 
1164 int32_t
1165 default_fstat_failure_cbk(call_frame_t *frame, int32_t op_errno);
1166 
1167 int32_t
1168 default_opendir_failure_cbk(call_frame_t *frame, int32_t op_errno);
1169 
1170 int32_t
1171 default_fsyncdir_failure_cbk(call_frame_t *frame, int32_t op_errno);
1172 
1173 int32_t
1174 default_statfs_failure_cbk(call_frame_t *frame, int32_t op_errno);
1175 
1176 int32_t
1177 default_setxattr_failure_cbk(call_frame_t *frame, int32_t op_errno);
1178 
1179 int32_t
1181 
1182 int32_t
1184 
1185 int32_t
1186 default_getxattr_failure_cbk(call_frame_t *frame, int32_t op_errno);
1187 
1188 int32_t
1189 default_xattrop_failure_cbk(call_frame_t *frame, int32_t op_errno);
1190 
1191 int32_t
1192 default_fxattrop_failure_cbk(call_frame_t *frame, int32_t op_errno);
1193 
1194 int32_t
1196 
1197 int32_t
1199 
1200 int32_t
1201 default_lk_failure_cbk(call_frame_t *frame, int32_t op_errno);
1202 
1203 int32_t
1204 default_inodelk_failure_cbk(call_frame_t *frame, int32_t op_errno);
1205 
1206 int32_t
1207 default_finodelk_failure_cbk(call_frame_t *frame, int32_t op_errno);
1208 
1209 int32_t
1210 default_entrylk_failure_cbk(call_frame_t *frame, int32_t op_errno);
1211 
1212 int32_t
1213 default_fentrylk_failure_cbk(call_frame_t *frame, int32_t op_errno);
1214 
1215 int32_t
1217 
1218 int32_t
1219 default_readdir_failure_cbk(call_frame_t *frame, int32_t op_errno);
1220 
1221 int32_t
1222 default_readdirp_failure_cbk(call_frame_t *frame, int32_t op_errno);
1223 
1224 int32_t
1225 default_setattr_failure_cbk(call_frame_t *frame, int32_t op_errno);
1226 
1227 int32_t
1228 default_fsetattr_failure_cbk(call_frame_t *frame, int32_t op_errno);
1229 
1230 int32_t
1232 
1233 int32_t
1234 default_discard_failure_cbk(call_frame_t *frame, int32_t op_errno);
1235 
1236 int32_t
1237 default_zerofill_failure_cbk(call_frame_t *frame, int32_t op_errno);
1238 
1239 int32_t
1240 default_getspec_failure_cbk(call_frame_t *frame, int32_t op_errno);
1241 
1242 int32_t
1243 default_ipc_failure_cbk(call_frame_t *frame, int32_t op_errno);
1244 
1245 int32_t
1246 default_seek_failure_cbk(call_frame_t *frame, int32_t op_errno);
1247 
1248 int32_t
1249 default_lease_failure_cbk(call_frame_t *frame, int32_t op_errno);
1250 
1251 int32_t
1253 
1254 int32_t
1256 
1257 int32_t
1258 default_put_failure_cbk(call_frame_t *frame, int32_t op_errno);
1259 
1260 int32_t
1261 default_icreate_failure_cbk(call_frame_t *frame, int32_t op_errno);
1262 
1263 int32_t
1264 default_namelink_failure_cbk(call_frame_t *frame, int32_t op_errno);
1265 
1266 int32_t
1268 
1269 int32_t
1271 
1272 void
1273 default_fini(xlator_t *this);
1274 
1275 #endif /* _DEFAULTS_H */
xlator.h
default_entrylk_cbk_resume
int32_t default_entrylk_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_namelink_failure_cbk
int32_t default_namelink_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_rmdir_resume
int32_t default_rmdir_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, int xflag, dict_t *xdata)
default_lk
int32_t default_lk(call_frame_t *frame, xlator_t *this, fd_t *fd, int32_t cmd, struct gf_flock *flock, dict_t *xdata)
default_args_cbk_t::buf
const char * buf
Definition: defaults.h:31
iobref
Definition: iobuf.h:154
default_args_t::xflag
int xflag
Definition: defaults.h:70
default_readdirp_cbk
int32_t default_readdirp_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, gf_dirent_t *entries, dict_t *xdata)
default_lk_failure_cbk
int32_t default_lk_failure_cbk(call_frame_t *frame, int32_t op_errno)
lock
static glusterd_lock_t lock
Definition: glusterd-utils.c:220
compound_args_t::fop_length
unsigned int fop_length
Definition: defaults.h:95
compound_args_t::fop_enum
int fop_enum
Definition: defaults.h:94
off64_t
__off64_t off64_t
Definition: glfs.h:72
default_getxattr_resume
int32_t default_getxattr_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, const char *name, dict_t *xdata)
default_flush
int32_t default_flush(call_frame_t *frame, xlator_t *this, fd_t *fd, dict_t *xdata)
default_readdir_resume
int32_t default_readdir_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, off_t off, dict_t *xdata)
default_put_cbk
int32_t default_put_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, inode_t *inode, struct iatt *buf, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_stat_cbk_resume
int32_t default_stat_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *buf, dict_t *xdata)
default_setattr_resume
int32_t default_setattr_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, struct iatt *stbuf, int32_t valid, dict_t *xdata)
default_fentrylk
int32_t default_fentrylk(call_frame_t *frame, xlator_t *this, const char *volume, fd_t *fd, const char *basename, entrylk_cmd cmd, entrylk_type type, dict_t *xdata)
default_args_cbk_t::vector
struct iovec * vector
Definition: defaults.h:32
default_readv_resume
int32_t default_readv_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, off_t offset, uint32_t flags, dict_t *xdata)
default_link_cbk_resume
int32_t default_link_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, inode_t *inode, struct iatt *buf, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_namelink_cbk
int32_t default_namelink_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *prebuf, struct iatt *postbuf, dict_t *xdata)
default_unlink
int32_t default_unlink(call_frame_t *frame, xlator_t *this, loc_t *loc, int xflag, dict_t *xdata)
default_inodelk_failure_cbk
int32_t default_inodelk_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_inodelk_resume
int32_t default_inodelk_resume(call_frame_t *frame, xlator_t *this, const char *volume, loc_t *loc, int32_t cmd, struct gf_flock *flock, dict_t *xdata)
default_xattrop_failure_cbk
int32_t default_xattrop_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_getactivelk_cbk_resume
int32_t default_getactivelk_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, lock_migration_info_t *locklist, dict_t *xdata)
default_ftruncate
int32_t default_ftruncate(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset, dict_t *xdata)
default_readdirp
int32_t default_readdirp(call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, off_t off, dict_t *xdata)
default_ipc_cbk_resume
int32_t default_ipc_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_fallocate_failure_cbk
int32_t default_fallocate_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_fsyncdir_cbk_resume
int32_t default_fsyncdir_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_put_cbk_resume
int32_t default_put_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, inode_t *inode, struct iatt *buf, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_fgetxattr_resume
int32_t default_fgetxattr_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, const char *name, dict_t *xdata)
default_symlink_cbk
int32_t default_symlink_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, inode_t *inode, struct iatt *buf, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_ipc_failure_cbk
int32_t default_ipc_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_getspec_cbk
int32_t default_getspec_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, char *spec_data)
iatt
Definition: iatt.h:46
default_copy_file_range_resume
int32_t default_copy_file_range_resume(call_frame_t *frame, xlator_t *this, fd_t *fd_in, off_t off64_in, fd_t *fd_out, off64_t off_out, size_t len, uint32_t flags, dict_t *xdata)
default_link
int32_t default_link(call_frame_t *frame, xlator_t *this, loc_t *oldloc, loc_t *newloc, dict_t *xdata)
default_mkdir_resume
int32_t default_mkdir_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode, mode_t umask, dict_t *xdata)
default_rchecksum_cbk_resume
int32_t default_rchecksum_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, uint32_t weak_checksum, uint8_t *strong_checksum, dict_t *xdata)
default_setxattr_resume
int32_t default_setxattr_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *dict, int32_t flags, dict_t *xdata)
default_readdir_failure_cbk
int32_t default_readdir_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_rmdir
int32_t default_rmdir(call_frame_t *frame, xlator_t *this, loc_t *loc, int xflag, dict_t *xdata)
default_rename
int32_t default_rename(call_frame_t *frame, xlator_t *this, loc_t *oldloc, loc_t *newloc, dict_t *xdata)
default_fstat_resume
int32_t default_fstat_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, dict_t *xdata)
default_open_failure_cbk
int32_t default_open_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_rchecksum
int32_t default_rchecksum(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset, int32_t len, dict_t *xdata)
default_readdir_cbk
int32_t default_readdir_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, gf_dirent_t *entries, dict_t *xdata)
default_writev
int32_t default_writev(call_frame_t *frame, xlator_t *this, fd_t *fd, struct iovec *vector, int32_t count, off_t offset, uint32_t flags, struct iobref *iobref, dict_t *xdata)
default_create
int32_t default_create(call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags, mode_t mode, mode_t umask, fd_t *fd, dict_t *xdata)
default_copy_file_range_failure_cbk
int32_t default_copy_file_range_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_statfs_resume
int32_t default_statfs_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata)
default_args_t::volume
const char * volume
Definition: defaults.h:81
default_setactivelk_cbk_resume
int32_t default_setactivelk_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_args_t::entrylkcmd
entrylk_cmd entrylkcmd
Definition: defaults.h:82
default_rmdir_failure_cbk
int32_t default_rmdir_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_readdirp_cbk_resume
int32_t default_readdirp_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, gf_dirent_t *entries, dict_t *xdata)
default_rchecksum_failure_cbk
int32_t default_rchecksum_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_lease_cbk_resume
int32_t default_lease_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct gf_lease *lease, dict_t *xdata)
default_args_cbk_t::valid
int valid
Definition: defaults.h:44
default_link_failure_cbk
int32_t default_link_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_args_cbk_t::xdata
dict_t * xdata
Definition: defaults.h:41
default_fgetxattr
int32_t default_fgetxattr(call_frame_t *frame, xlator_t *this, fd_t *fd, const char *name, dict_t *xdata)
default_finodelk_cbk_resume
int32_t default_finodelk_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_setxattr
int32_t default_setxattr(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *dict, int32_t flags, dict_t *xdata)
default_put_resume
int32_t default_put_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode, mode_t umask, uint32_t flags, struct iovec *vector, int32_t count, off_t off, struct iobref *iobref, dict_t *xattr, dict_t *xdata)
default_ftruncate_failure_cbk
int32_t default_ftruncate_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_statfs_failure_cbk
int32_t default_statfs_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_fremovexattr_failure_cbk
int32_t default_fremovexattr_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_lease_cbk
int32_t default_lease_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct gf_lease *lease, dict_t *xdata)
default_readlink_cbk
int32_t default_readlink_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, const char *path, struct iatt *buf, dict_t *xdata)
default_discard_resume
int32_t default_discard_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset, size_t len, dict_t *xdata)
gf_lease::cmd
gf_lease_cmds_t cmd
Definition: glusterfs-fops.h:153
default_put_failure_cbk
int32_t default_put_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_args_cbk_t::xattr
dict_t * xattr
Definition: defaults.h:37
default_ipc_resume
int32_t default_ipc_resume(call_frame_t *frame, xlator_t *this, int32_t op, dict_t *xdata)
default_fentrylk_failure_cbk
int32_t default_fentrylk_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_finodelk_failure_cbk
int32_t default_finodelk_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_args_cbk_t::entries
gf_dirent_t entries
Definition: defaults.h:42
default_icreate
int32_t default_icreate(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode, dict_t *xdata)
default_ftruncate_cbk_resume
int32_t default_ftruncate_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *prebuf, struct iatt *postbuf, dict_t *xdata)
default_getspec
int32_t default_getspec(call_frame_t *frame, xlator_t *this, const char *key, int32_t flag)
default_copy_file_range_cbk
int32_t default_copy_file_range_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *stbuf, struct iatt *prebuf_dst, struct iatt *postbuf_dst, dict_t *xdata)
_call_frame
Definition: stack.h:63
default_args_t::offset
off_t offset
Definition: defaults.h:55
default_setactivelk_cbk
int32_t default_setactivelk_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_release
int32_t default_release(xlator_t *this, fd_t *fd)
Definition: defaults-tmpl.c:115
default_fgetxattr_cbk_resume
int32_t default_fgetxattr_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *dict, dict_t *xdata)
default_readv
int32_t default_readv(call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, off_t offset, uint32_t flags, dict_t *xdata)
default_args_t::optype
gf_xattrop_flags_t optype
Definition: defaults.h:84
lock_migration_info
Definition: glusterfs.h:759
default_removexattr_failure_cbk
int32_t default_removexattr_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_link_cbk
int32_t default_link_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, inode_t *inode, struct iatt *buf, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
_inode
Definition: inode.h:99
default_fremovexattr
int32_t default_fremovexattr(call_frame_t *frame, xlator_t *this, fd_t *fd, const char *name, dict_t *xdata)
default_zerofill_cbk
int32_t default_zerofill_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *pre, struct iatt *post, dict_t *xdata)
default_fentrylk_resume
int32_t default_fentrylk_resume(call_frame_t *frame, xlator_t *this, const char *volume, fd_t *fd, const char *basename, entrylk_cmd cmd, entrylk_type type, dict_t *xdata)
default_seek_cbk
int32_t default_seek_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, off_t offset, dict_t *xdata)
default_fsetattr_failure_cbk
int32_t default_fsetattr_failure_cbk(call_frame_t *frame, int32_t op_errno)
xlator_fops
Definition: xlator.h:561
default_fini
void default_fini(xlator_t *this)
Definition: defaults-tmpl.c:243
default_forget
int32_t default_forget(xlator_t *this, inode_t *inode)
Definition: defaults-tmpl.c:97
default_lease
int32_t default_lease(call_frame_t *frame, xlator_t *this, loc_t *loc, struct gf_lease *lease, dict_t *xdata)
syncdaemon.syncdutils.umask
def umask()
Definition: syncdutils.py:545
default_args_cbk_t::weak_checksum
uint32_t weak_checksum
Definition: defaults.h:39
default_readlink_failure_cbk
int32_t default_readlink_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_seek_resume
int32_t default_seek_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset, gf_seek_what_t what, dict_t *xdata)
default_access
int32_t default_access(call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t mask, dict_t *xdata)
default_args_t::fd
fd_t * fd
Definition: defaults.h:53
default_fsync
int32_t default_fsync(call_frame_t *frame, xlator_t *this, fd_t *fd, int32_t datasync, dict_t *xdata)
gf_lease
Definition: glusterfs-fops.h:152
default_getspec_resume
int32_t default_getspec_resume(call_frame_t *frame, xlator_t *this, const char *key, int32_t flag)
default_readlink_resume
int32_t default_readlink_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, size_t size, dict_t *xdata)
default_open_cbk
int32_t default_open_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, fd_t *fd, dict_t *xdata)
default_opendir_cbk
int32_t default_opendir_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, fd_t *fd, dict_t *xdata)
default_icreate_failure_cbk
int32_t default_icreate_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_getactivelk_cbk
int32_t default_getactivelk_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, lock_migration_info_t *locklist, dict_t *xdata)
default_access_resume
int32_t default_access_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t mask, dict_t *xdata)
default_fentrylk_cbk
int32_t default_fentrylk_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_getxattr
int32_t default_getxattr(call_frame_t *frame, xlator_t *this, loc_t *loc, const char *name, dict_t *xdata)
default_truncate_cbk_resume
int32_t default_truncate_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *prebuf, struct iatt *postbuf, dict_t *xdata)
default_mkdir_cbk
int32_t default_mkdir_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, inode_t *inode, struct iatt *buf, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_entrylk_resume
int32_t default_entrylk_resume(call_frame_t *frame, xlator_t *this, const char *volume, loc_t *loc, const char *basename, entrylk_cmd cmd, entrylk_type type, dict_t *xdata)
default_namelink_resume
int32_t default_namelink_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata)
default_flush_cbk
int32_t default_flush_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_args_cbk_t::op_ret
int op_ret
Definition: defaults.h:21
compound_args_t::req_list
default_args_t * req_list
Definition: defaults.h:97
entrylk_type
entrylk_type
Definition: glusterfs-fops.h:181
default_xattrop_cbk_resume
int32_t default_xattrop_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *dict, dict_t *xdata)
compound_args_cbk_t::rsp_list
default_args_cbk_t * rsp_list
Definition: defaults.h:105
default_entrylk_cbk
int32_t default_entrylk_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_rename_resume
int32_t default_rename_resume(call_frame_t *frame, xlator_t *this, loc_t *oldloc, loc_t *newloc, dict_t *xdata)
default_access_cbk_resume
int32_t default_access_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_rchecksum_resume
int32_t default_rchecksum_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset, int32_t len, dict_t *xdata)
default_inodelk_cbk_resume
int32_t default_inodelk_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
compound_args_cbk_t
Definition: defaults.h:101
compound_args_t::xdata
dict_t * xdata
Definition: defaults.h:98
default_unlink_cbk
int32_t default_unlink_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_readdir
int32_t default_readdir(call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, off_t off, dict_t *xdata)
compound_args_t::enum_list
int * enum_list
Definition: defaults.h:96
default_truncate_resume
int32_t default_truncate_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, off_t offset, dict_t *xdata)
default_readlink_cbk_resume
int32_t default_readlink_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, const char *path, struct iatt *buf, dict_t *xdata)
default_setxattr_failure_cbk
int32_t default_setxattr_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_setactivelk_resume
int32_t default_setactivelk_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, lock_migration_info_t *locklist, dict_t *xdata)
default_setattr_cbk
int32_t default_setattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *statpre, struct iatt *statpost, dict_t *xdata)
default_fsync_cbk
int32_t default_fsync_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *prebuf, struct iatt *postbuf, dict_t *xdata)
default_icreate_resume
int32_t default_icreate_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode, dict_t *xdata)
default_link_resume
int32_t default_link_resume(call_frame_t *frame, xlator_t *this, loc_t *oldloc, loc_t *newloc, dict_t *xdata)
default_args_t::umask
mode_t umask
Definition: defaults.h:69
default_writev_failure_cbk
int32_t default_writev_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_access_failure_cbk
int32_t default_access_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_lookup_cbk_resume
int32_t default_lookup_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, inode_t *inode, struct iatt *buf, dict_t *xdata, struct iatt *postparent)
default_finodelk
int32_t default_finodelk(call_frame_t *frame, xlator_t *this, const char *volume, fd_t *fd, int32_t cmd, struct gf_flock *flock, dict_t *xdata)
default_symlink_cbk_resume
int32_t default_symlink_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, inode_t *inode, struct iatt *buf, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_args_t::linkname
const char * linkname
Definition: defaults.h:72
default_opendir_resume
int32_t default_opendir_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, fd_t *fd, dict_t *xdata)
default_fremovexattr_resume
int32_t default_fremovexattr_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, const char *name, dict_t *xdata)
default_args_t::fd_dst
fd_t * fd_dst
Definition: defaults.h:54
default_zerofill_cbk_resume
int32_t default_zerofill_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *pre, struct iatt *post, dict_t *xdata)
default_discard
int32_t default_discard(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset, size_t len, dict_t *xdata)
default_readdirp_resume
int32_t default_readdirp_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, off_t off, dict_t *xdata)
default_getactivelk_failure_cbk
int32_t default_getactivelk_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_readlink
int32_t default_readlink(call_frame_t *frame, xlator_t *this, loc_t *loc, size_t size, dict_t *xdata)
default_args_t::mode
mode_t mode
Definition: defaults.h:67
default_fxattrop_cbk
int32_t default_fxattrop_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *dict, dict_t *xdata)
default_opendir
int32_t default_opendir(call_frame_t *frame, xlator_t *this, loc_t *loc, fd_t *fd, dict_t *xdata)
default_fxattrop
int32_t default_fxattrop(call_frame_t *frame, xlator_t *this, fd_t *fd, gf_xattrop_flags_t flags, dict_t *dict, dict_t *xdata)
xlator_fops::lease
fop_lease_t lease
Definition: xlator.h:615
default_mem_acct_init
int32_t default_mem_acct_init(xlator_t *this)
Definition: defaults-tmpl.c:233
default_notify
int32_t default_notify(xlator_t *this, int32_t event, void *data,...)
Definition: defaults-tmpl.c:125
_fd
Definition: fd.h:39
default_fallocate_cbk
int32_t default_fallocate_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *pre, struct iatt *post, dict_t *xdata)
default_setattr
int32_t default_setattr(call_frame_t *frame, xlator_t *this, loc_t *loc, struct iatt *stbuf, int32_t valid, dict_t *xdata)
default_discard_cbk
int32_t default_discard_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *pre, struct iatt *post, dict_t *xdata)
default_symlink
int32_t default_symlink(call_frame_t *frame, xlator_t *this, const char *linkpath, loc_t *loc, mode_t umask, dict_t *xdata)
default_open
int32_t default_open(call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags, fd_t *fd, dict_t *xdata)
default_lookup
int32_t default_lookup(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata)
default_args_cbk_t::count
int count
Definition: defaults.h:33
default_xattrop_resume
int32_t default_xattrop_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, gf_xattrop_flags_t flags, dict_t *dict, dict_t *xdata)
_xlator
Definition: xlator.h:770
default_fallocate
int32_t default_fallocate(call_frame_t *frame, xlator_t *this, fd_t *fd, int32_t keep_size, off_t offset, size_t len, dict_t *xdata)
default_stat_failure_cbk
int32_t default_stat_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_fstat_failure_cbk
int32_t default_fstat_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_args_t::count
int count
Definition: defaults.h:74
default_rename_cbk
int32_t default_rename_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *buf, struct iatt *preoldparent, struct iatt *postoldparent, struct iatt *prenewparent, struct iatt *postnewparent, dict_t *xdata)
default_fsetxattr_failure_cbk
int32_t default_fsetxattr_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_copy_file_range
int32_t default_copy_file_range(call_frame_t *frame, xlator_t *this, fd_t *fd_in, off64_t off_in, fd_t *fd_out, off64_t off_out, size_t len, uint32_t flags, dict_t *xdata)
default_entrylk
int32_t default_entrylk(call_frame_t *frame, xlator_t *this, const char *volume, loc_t *loc, const char *basename, entrylk_cmd cmd, entrylk_type type, dict_t *xdata)
default_args_cbk_t
Definition: defaults.h:20
default_args_t::entrylktype
entrylk_type entrylktype
Definition: defaults.h:83
default_fsyncdir_cbk
int32_t default_fsyncdir_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_args_cbk_t::strong_checksum
uint8_t * strong_checksum
Definition: defaults.h:40
default_fentrylk_cbk_resume
int32_t default_fentrylk_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_flush_failure_cbk
int32_t default_flush_failure_cbk(call_frame_t *frame, int32_t op_errno)
_gf_dirent
Definition: gf-dirent.h:35
default_removexattr_resume
int32_t default_removexattr_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, const char *name, dict_t *xdata)
default_opendir_failure_cbk
int32_t default_opendir_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_getspec_failure_cbk
int32_t default_getspec_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_removexattr
int32_t default_removexattr(call_frame_t *frame, xlator_t *this, loc_t *loc, const char *name, dict_t *xdata)
default_lease_resume
int32_t default_lease_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, struct gf_lease *lease, dict_t *xdata)
default_args_t::loc2
loc_t loc2
Definition: defaults.h:52
default_fsetattr_cbk
int32_t default_fsetattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *statpre, struct iatt *statpost, dict_t *xdata)
default_unlink_resume
int32_t default_unlink_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, int xflag, dict_t *xdata)
default_create_failure_cbk
int32_t default_create_failure_cbk(call_frame_t *frame, int32_t op_errno)
_loc
Definition: xlator.h:66
default_setattr_failure_cbk
int32_t default_setattr_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_open_resume
int32_t default_open_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags, fd_t *fd, dict_t *xdata)
default_seek_failure_cbk
int32_t default_seek_failure_cbk(call_frame_t *frame, int32_t op_errno)
name
char * name
Definition: xdr-nfs3.h:948
default_getspec_cbk_resume
int32_t default_getspec_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, char *spec_data)
default_fsetxattr_cbk
int32_t default_fsetxattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_discard_cbk_resume
int32_t default_discard_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *pre, struct iatt *post, dict_t *xdata)
default_seek_cbk_resume
int32_t default_seek_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, off_t offset, dict_t *xdata)
default_args_t
Definition: defaults.h:50
default_lookup_cbk
int32_t default_lookup_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, inode_t *inode, struct iatt *buf, dict_t *xdata, struct iatt *postparent)
default_args_t::xattr
dict_t * xattr
Definition: defaults.h:77
default_args_t::mask
int mask
Definition: defaults.h:65
default_lookup_resume
int32_t default_lookup_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata)
default_setactivelk_failure_cbk
int32_t default_setactivelk_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_xattrop
int32_t default_xattrop(call_frame_t *frame, xlator_t *this, loc_t *loc, gf_xattrop_flags_t flags, dict_t *dict, dict_t *xdata)
default_statfs
int32_t default_statfs(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata)
default_args_t::name
const char * name
Definition: defaults.h:78
default_lookup_failure_cbk
int32_t default_lookup_failure_cbk(call_frame_t *frame, int32_t op_errno)
compound_args_t
Definition: defaults.h:93
default_fsetxattr
int32_t default_fsetxattr(call_frame_t *frame, xlator_t *this, fd_t *fd, dict_t *dict, int32_t flags, dict_t *xdata)
default_create_resume
int32_t default_create_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags, mode_t mode, mode_t umask, fd_t *fd, dict_t *xdata)
default_fstat
int32_t default_fstat(call_frame_t *frame, xlator_t *this, fd_t *fd, dict_t *xdata)
default_opendir_cbk_resume
int32_t default_opendir_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, fd_t *fd, dict_t *xdata)
default_seek
int32_t default_seek(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset, gf_seek_what_t what, dict_t *xdata)
default_fstat_cbk
int32_t default_fstat_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *buf, dict_t *xdata)
default_getactivelk_resume
int32_t default_getactivelk_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata)
default_fsync_resume
int32_t default_fsync_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, int32_t datasync, dict_t *xdata)
default_fsync_cbk_resume
int32_t default_fsync_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *prebuf, struct iatt *postbuf, dict_t *xdata)
default_args_t::valid
int valid
Definition: defaults.h:85
compound_args_cbk_t::fop_enum
int fop_enum
Definition: defaults.h:102
default_open_cbk_resume
int32_t default_open_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, fd_t *fd, dict_t *xdata)
default_removexattr_cbk_resume
int32_t default_removexattr_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_finodelk_cbk
int32_t default_finodelk_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_fsyncdir_failure_cbk
int32_t default_fsyncdir_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_args_t::flags
int flags
Definition: defaults.h:71
default_fgetxattr_failure_cbk
int32_t default_fgetxattr_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_create_cbk_resume
int32_t default_create_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, fd_t *fd, inode_t *inode, struct iatt *buf, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_fstat_cbk_resume
int32_t default_fstat_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *buf, dict_t *xdata)
default_setxattr_cbk
int32_t default_setxattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_truncate
int32_t default_truncate(call_frame_t *frame, xlator_t *this, loc_t *loc, off_t offset, dict_t *xdata)
default_ipc_cbk
int32_t default_ipc_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_mknod_failure_cbk
int32_t default_mknod_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_fxattrop_cbk_resume
int32_t default_fxattrop_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *dict, dict_t *xdata)
default_args_t::xdata
dict_t * xdata
Definition: defaults.h:88
default_rchecksum_cbk
int32_t default_rchecksum_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, uint32_t weak_checksum, uint8_t *strong_checksum, dict_t *xdata)
default_args_t::datasync
int datasync
Definition: defaults.h:76
default_args_t::iobref
struct iobref * iobref
Definition: defaults.h:75
gf_seek_what_t
gf_seek_what_t
Definition: glusterfs-fops.h:207
default_writev_cbk
int32_t default_writev_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *prebuf, struct iatt *postbuf, dict_t *xdata)
default_fsetxattr_resume
int32_t default_fsetxattr_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, dict_t *dict, int32_t flags, dict_t *xdata)
default_readv_failure_cbk
int32_t default_readv_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_stat_resume
int32_t default_stat_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata)
default_args_t::off_in
off64_t off_in
Definition: defaults.h:63
default_lk_resume
int32_t default_lk_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, int32_t cmd, struct gf_flock *flock, dict_t *xdata)
default_stat
int32_t default_stat(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata)
default_getxattr_failure_cbk
int32_t default_getxattr_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_fgetxattr_cbk
int32_t default_fgetxattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *dict, dict_t *xdata)
compound_args_cbk_t::enum_list
int * enum_list
Definition: defaults.h:104
default_mknod
int32_t default_mknod(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode, dev_t rdev, mode_t umask, dict_t *xdata)
default_lk_cbk
int32_t default_lk_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct gf_flock *lock, dict_t *xdata)
default_args_t::rdev
dev_t rdev
Definition: defaults.h:68
default_setactivelk
int32_t default_setactivelk(call_frame_t *frame, xlator_t *this, loc_t *loc, lock_migration_info_t *locklist, dict_t *xdata)
gf_flock
Definition: glusterfs.h:750
default_rmdir_cbk
int32_t default_rmdir_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_rename_failure_cbk
int32_t default_rename_failure_cbk(call_frame_t *frame, int32_t op_errno)
compound_args_cbk_t::xdata
dict_t * xdata
Definition: defaults.h:106
default_fsetxattr_cbk_resume
int32_t default_fsetxattr_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_lk_cbk_resume
int32_t default_lk_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct gf_flock *lock, dict_t *xdata)
default_setattr_cbk_resume
int32_t default_setattr_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *statpre, struct iatt *statpost, dict_t *xdata)
default_lease_failure_cbk
int32_t default_lease_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_args_t::vector
struct iovec * vector
Definition: defaults.h:73
default_mkdir_failure_cbk
int32_t default_mkdir_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_fremovexattr_cbk_resume
int32_t default_fremovexattr_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_ftruncate_resume
int32_t default_ftruncate_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset, dict_t *xdata)
default_getxattr_cbk_resume
int32_t default_getxattr_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *dict, dict_t *xdata)
default_symlink_failure_cbk
int32_t default_symlink_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_fallocate_cbk_resume
int32_t default_fallocate_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *pre, struct iatt *post, dict_t *xdata)
default_access_cbk
int32_t default_access_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_inodelk_cbk
int32_t default_inodelk_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_zerofill_resume
int32_t default_zerofill_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset, off_t len, dict_t *xdata)
default_args_t::off_out
off64_t off_out
Definition: defaults.h:64
default_rename_cbk_resume
int32_t default_rename_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *buf, struct iatt *preoldparent, struct iatt *postoldparent, struct iatt *prenewparent, struct iatt *postnewparent, dict_t *xdata)
default_getactivelk
int32_t default_getactivelk(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata)
default_args_cbk_t::iobref
struct iobref * iobref
Definition: defaults.h:34
default_entrylk_failure_cbk
int32_t default_entrylk_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_zerofill
int32_t default_zerofill(call_frame_t *frame, xlator_t *this, fd_t *fd, off_t offset, off_t len, dict_t *xdata)
default_flush_resume
int32_t default_flush_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, dict_t *xdata)
default_mknod_resume
int32_t default_mknod_resume(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode, dev_t rdev, mode_t umask, dict_t *xdata)
default_writev_resume
int32_t default_writev_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, struct iovec *vector, int32_t count, off_t offset, uint32_t flags, struct iobref *iobref, dict_t *xdata)
default_copy_file_range_cbk_resume
int32_t default_copy_file_range_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *stbuf, struct iatt *prebuf_dst, struct iatt *postbuf_dst, dict_t *xdata)
default_flush_cbk_resume
int32_t default_flush_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_fsetattr_resume
int32_t default_fsetattr_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, struct iatt *stbuf, int32_t valid, dict_t *xdata)
compound_args_cbk_t::fop_length
unsigned int fop_length
Definition: defaults.h:103
_dict
Definition: dict.h:114
default_put
int32_t default_put(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode, mode_t umask, uint32_t flags, struct iovec *vector, int32_t count, off_t off, struct iobref *iobref, dict_t *xattr, dict_t *xdata)
default_ipc
int32_t default_ipc(call_frame_t *frame, xlator_t *this, int32_t op, dict_t *xdata)
gf_xattrop_flags_t
gf_xattrop_flags_t
Definition: glusterfs-fops.h:196
default_truncate_cbk
int32_t default_truncate_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *prebuf, struct iatt *postbuf, dict_t *xdata)
default_statfs_cbk_resume
int32_t default_statfs_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct statvfs *buf, dict_t *xdata)
default_args_cbk_t::locklist
lock_migration_info_t locklist
Definition: defaults.h:47
default_args_t::locklist
lock_migration_info_t locklist
Definition: defaults.h:90
default_finodelk_resume
int32_t default_finodelk_resume(call_frame_t *frame, xlator_t *this, const char *volume, fd_t *fd, int32_t cmd, struct gf_flock *flock, dict_t *xdata)
S40ufo-stop.op
op
Definition: S40ufo-stop.py:14
default_discard_failure_cbk
int32_t default_discard_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_removexattr_cbk
int32_t default_removexattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_mkdir
int32_t default_mkdir(call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode, mode_t umask, dict_t *xdata)
default_fsyncdir
int32_t default_fsyncdir(call_frame_t *frame, xlator_t *this, fd_t *fd, int32_t datasync, dict_t *xdata)
default_readv_cbk_resume
int32_t default_readv_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iovec *vector, int32_t count, struct iatt *stbuf, struct iobref *iobref, dict_t *xdata)
default_fops
struct xlator_fops * default_fops
Definition: defaults-tmpl.c:89
default_zerofill_failure_cbk
int32_t default_zerofill_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_args_cbk_t::offset
off_t offset
Definition: defaults.h:43
default_inodelk
int32_t default_inodelk(call_frame_t *frame, xlator_t *this, const char *volume, loc_t *loc, int32_t cmd, struct gf_flock *flock, dict_t *xdata)
default_mkdir_cbk_resume
int32_t default_mkdir_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, inode_t *inode, struct iatt *buf, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_statfs_cbk
int32_t default_statfs_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct statvfs *buf, dict_t *xdata)
default_truncate_failure_cbk
int32_t default_truncate_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_fallocate_resume
int32_t default_fallocate_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, int32_t keep_size, off_t offset, size_t len, dict_t *xdata)
default_writev_cbk_resume
int32_t default_writev_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *prebuf, struct iatt *postbuf, dict_t *xdata)
default_namelink
int32_t default_namelink(call_frame_t *frame, xlator_t *this, loc_t *loc, dict_t *xdata)
default_args_cbk_t::op_errno
int op_errno
Definition: defaults.h:22
default_mknod_cbk_resume
int32_t default_mknod_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, inode_t *inode, struct iatt *buf, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_readv_cbk
int32_t default_readv_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iovec *vector, int32_t count, struct iatt *stbuf, struct iobref *iobref, dict_t *xdata)
default_releasedir
int32_t default_releasedir(xlator_t *this, fd_t *fd)
Definition: defaults-tmpl.c:106
default_fsyncdir_resume
int32_t default_fsyncdir_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, int32_t datasync, dict_t *xdata)
default_xattrop_cbk
int32_t default_xattrop_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *dict, dict_t *xdata)
default_ftruncate_cbk
int32_t default_ftruncate_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *prebuf, struct iatt *postbuf, dict_t *xdata)
S40ufo-stop.type
type
Definition: S40ufo-stop.py:15
default_fxattrop_resume
int32_t default_fxattrop_resume(call_frame_t *frame, xlator_t *this, fd_t *fd, gf_xattrop_flags_t flags, dict_t *dict, dict_t *xdata)
default_setxattr_cbk_resume
int32_t default_setxattr_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
default_fsetattr_cbk_resume
int32_t default_fsetattr_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *statpre, struct iatt *statpost, dict_t *xdata)
default_create_cbk
int32_t default_create_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, fd_t *fd, inode_t *inode, struct iatt *buf, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_unlink_cbk_resume
int32_t default_unlink_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_readdirp_failure_cbk
int32_t default_readdirp_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_unlink_failure_cbk
int32_t default_unlink_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_readdir_cbk_resume
int32_t default_readdir_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, gf_dirent_t *entries, dict_t *xdata)
default_args_t::what
gf_seek_what_t what
Definition: defaults.h:87
default_getxattr_cbk
int32_t default_getxattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *dict, dict_t *xdata)
default_fsetattr
int32_t default_fsetattr(call_frame_t *frame, xlator_t *this, fd_t *fd, struct iatt *stbuf, int32_t valid, dict_t *xdata)
default_icreate_cbk
int32_t default_icreate_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, inode_t *inode, struct iatt *buf, dict_t *xdata)
default_stat_cbk
int32_t default_stat_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *buf, dict_t *xdata)
default_rmdir_cbk_resume
int32_t default_rmdir_cbk_resume(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_fremovexattr_cbk
int32_t default_fremovexattr_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *xdata)
entrylk_cmd
entrylk_cmd
Definition: glusterfs-fops.h:174
default_symlink_resume
int32_t default_symlink_resume(call_frame_t *frame, xlator_t *this, const char *linkpath, loc_t *loc, mode_t umask, dict_t *xdata)
default_mknod_cbk
int32_t default_mknod_cbk(call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, inode_t *inode, struct iatt *buf, struct iatt *preparent, struct iatt *postparent, dict_t *xdata)
default_fsync_failure_cbk
int32_t default_fsync_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_fxattrop_failure_cbk
int32_t default_fxattrop_failure_cbk(call_frame_t *frame, int32_t op_errno)
default_args_t::size
size_t size
Definition: defaults.h:66
default_args_t::loc
loc_t loc
Definition: defaults.h:51