Lines Matching +full:2 +full:f

30 #define CEPH_NOSNAP  ((__u64)(-2))  /* "head", "live" revision */
43 #define CEPH_OBJECT_LAYOUT_LINEAR 2
51 #define CEPH_PG_LAYOUT_LINEAR 2
86 #define CEPH_POOL_TYPE_RAID4 2 /* never implemented */
93 * containing power of 2 minus 1.
95 * b <= bmask and bmask=(2**n)-1
129 #define CEPH_OSD_AUTOOUT (1<<2) /* osd was automatically marked out */
150 #define CEPH_OSDMAP_PAUSERD (1<<2) /* pause all reads */
203 #define __CEPH_FORALL_OSD_OPS(f) \ argument
206 f(READ, __CEPH_OSD_OP(RD, DATA, 1), "read") \
207 f(STAT, __CEPH_OSD_OP(RD, DATA, 2), "stat") \
208 f(MAPEXT, __CEPH_OSD_OP(RD, DATA, 3), "mapext") \
211 f(MASKTRUNC, __CEPH_OSD_OP(RD, DATA, 4), "masktrunc") \
212 f(SPARSE_READ, __CEPH_OSD_OP(RD, DATA, 5), "sparse-read") \
214 f(NOTIFY, __CEPH_OSD_OP(RD, DATA, 6), "notify") \
215 f(NOTIFY_ACK, __CEPH_OSD_OP(RD, DATA, 7), "notify-ack") \
218 f(ASSERT_VER, __CEPH_OSD_OP(RD, DATA, 8), "assert-version") \
220 f(LIST_WATCHERS, __CEPH_OSD_OP(RD, DATA, 9), "list-watchers") \
222 f(LIST_SNAPS, __CEPH_OSD_OP(RD, DATA, 10), "list-snaps") \
225 f(SYNC_READ, __CEPH_OSD_OP(RD, DATA, 11), "sync_read") \
228 f(WRITE, __CEPH_OSD_OP(WR, DATA, 1), "write") \
229 f(WRITEFULL, __CEPH_OSD_OP(WR, DATA, 2), "writefull") \
230 f(TRUNCATE, __CEPH_OSD_OP(WR, DATA, 3), "truncate") \
231 f(ZERO, __CEPH_OSD_OP(WR, DATA, 4), "zero") \
232 f(DELETE, __CEPH_OSD_OP(WR, DATA, 5), "delete") \
235 f(APPEND, __CEPH_OSD_OP(WR, DATA, 6), "append") \
236 f(SETTRUNC, __CEPH_OSD_OP(WR, DATA, 8), "settrunc") \
237 f(TRIMTRUNC, __CEPH_OSD_OP(WR, DATA, 9), "trimtrunc") \
239 f(TMAPUP, __CEPH_OSD_OP(RMW, DATA, 10), "tmapup") \
240 f(TMAPPUT, __CEPH_OSD_OP(WR, DATA, 11), "tmapput") \
241 f(TMAPGET, __CEPH_OSD_OP(RD, DATA, 12), "tmapget") \
243 f(CREATE, __CEPH_OSD_OP(WR, DATA, 13), "create") \
244 f(ROLLBACK, __CEPH_OSD_OP(WR, DATA, 14), "rollback") \
246 f(WATCH, __CEPH_OSD_OP(WR, DATA, 15), "watch") \
249 f(OMAPGETKEYS, __CEPH_OSD_OP(RD, DATA, 17), "omap-get-keys") \
250 f(OMAPGETVALS, __CEPH_OSD_OP(RD, DATA, 18), "omap-get-vals") \
251 f(OMAPGETHEADER, __CEPH_OSD_OP(RD, DATA, 19), "omap-get-header") \
252 f(OMAPGETVALSBYKEYS, __CEPH_OSD_OP(RD, DATA, 20), "omap-get-vals-by-keys") \
253 f(OMAPSETVALS, __CEPH_OSD_OP(WR, DATA, 21), "omap-set-vals") \
254 f(OMAPSETHEADER, __CEPH_OSD_OP(WR, DATA, 22), "omap-set-header") \
255 f(OMAPCLEAR, __CEPH_OSD_OP(WR, DATA, 23), "omap-clear") \
256 f(OMAPRMKEYS, __CEPH_OSD_OP(WR, DATA, 24), "omap-rm-keys") \
257 f(OMAP_CMP, __CEPH_OSD_OP(RD, DATA, 25), "omap-cmp") \
260 f(COPY_FROM, __CEPH_OSD_OP(WR, DATA, 26), "copy-from") \
261 f(COPY_FROM2, __CEPH_OSD_OP(WR, DATA, 45), "copy-from2") \
262 f(COPY_GET_CLASSIC, __CEPH_OSD_OP(RD, DATA, 27), "copy-get-classic") \
263 f(UNDIRTY, __CEPH_OSD_OP(WR, DATA, 28), "undirty") \
264 f(ISDIRTY, __CEPH_OSD_OP(RD, DATA, 29), "isdirty") \
265 f(COPY_GET, __CEPH_OSD_OP(RD, DATA, 30), "copy-get") \
266 f(CACHE_FLUSH, __CEPH_OSD_OP(CACHE, DATA, 31), "cache-flush") \
267 f(CACHE_EVICT, __CEPH_OSD_OP(CACHE, DATA, 32), "cache-evict") \
268 f(CACHE_TRY_FLUSH, __CEPH_OSD_OP(CACHE, DATA, 33), "cache-try-flush") \
271 f(TMAP2OMAP, __CEPH_OSD_OP(RMW, DATA, 34), "tmap2omap") \
274 f(SETALLOCHINT, __CEPH_OSD_OP(WR, DATA, 35), "set-alloc-hint") \
277 f(CLONERANGE, __CEPH_OSD_OP(WR, MULTI, 1), "clonerange") \
278 f(ASSERT_SRC_VERSION, __CEPH_OSD_OP(RD, MULTI, 2), "assert-src-version") \
279 f(SRC_CMPXATTR, __CEPH_OSD_OP(RD, MULTI, 3), "src-cmpxattr") \
283 f(GETXATTR, __CEPH_OSD_OP(RD, ATTR, 1), "getxattr") \
284 f(GETXATTRS, __CEPH_OSD_OP(RD, ATTR, 2), "getxattrs") \
285 f(CMPXATTR, __CEPH_OSD_OP(RD, ATTR, 3), "cmpxattr") \
288 f(SETXATTR, __CEPH_OSD_OP(WR, ATTR, 1), "setxattr") \
289 f(SETXATTRS, __CEPH_OSD_OP(WR, ATTR, 2), "setxattrs") \
290 f(RESETXATTRS, __CEPH_OSD_OP(WR, ATTR, 3), "resetxattrs") \
291 f(RMXATTR, __CEPH_OSD_OP(WR, ATTR, 4), "rmxattr") \
294 f(PULL, __CEPH_OSD_OP1(SUB, 1), "pull") \
295 f(PUSH, __CEPH_OSD_OP1(SUB, 2), "push") \
296 f(BALANCEREADS, __CEPH_OSD_OP1(SUB, 3), "balance-reads") \
297 f(UNBALANCEREADS, __CEPH_OSD_OP1(SUB, 4), "unbalance-reads") \
298 f(SCRUB, __CEPH_OSD_OP1(SUB, 5), "scrub") \
299 f(SCRUB_RESERVE, __CEPH_OSD_OP1(SUB, 6), "scrub-reserve") \
300 f(SCRUB_UNRESERVE, __CEPH_OSD_OP1(SUB, 7), "scrub-unreserve") \
301 f(SCRUB_STOP, __CEPH_OSD_OP1(SUB, 8), "scrub-stop") \
302 f(SCRUB_MAP, __CEPH_OSD_OP1(SUB, 9), "scrub-map") \
305 f(WRLOCK, __CEPH_OSD_OP(WR, LOCK, 1), "wrlock") \
306 f(WRUNLOCK, __CEPH_OSD_OP(WR, LOCK, 2), "wrunlock") \
307 f(RDLOCK, __CEPH_OSD_OP(WR, LOCK, 3), "rdlock") \
308 f(RDUNLOCK, __CEPH_OSD_OP(WR, LOCK, 4), "rdunlock") \
309 f(UPLOCK, __CEPH_OSD_OP(WR, LOCK, 5), "uplock") \
310 f(DNLOCK, __CEPH_OSD_OP(WR, LOCK, 6), "dnlock") \
314 f(CALL, __CEPH_OSD_OP(RD, EXEC, 1), "call") \
317 f(PGLS, __CEPH_OSD_OP(RD, PG, 1), "pgls") \
318 f(PGLS_FILTER, __CEPH_OSD_OP(RD, PG, 2), "pgls-filter") \
319 f(PG_HITSET_LS, __CEPH_OSD_OP(RD, PG, 3), "pg-hitset-ls") \
320 f(PG_HITSET_GET, __CEPH_OSD_OP(RD, PG, 4), "pg-hitset-get")
415 CEPH_OSD_OP_FLAG_FAILOK = 2, /* continue despite failure */
433 CEPH_OSD_CMPXATTR_OP_NE = 2,
442 CEPH_OSD_CMPXATTR_MODE_U64 = 2
447 CEPH_OSD_COPY_FROM_FLAG_IGNORE_OVERLAY = 2, /* ignore pool overlay */
469 CEPH_OSD_ALLOC_HINT_FLAG_RANDOM_WRITE = 2,
482 CEPH_OSD_BACKOFF_OP_ACK_BLOCK = 2,