forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzfs_config.h
More file actions
401 lines (267 loc) · 9.74 KB
/
zfs_config.h
File metadata and controls
401 lines (267 loc) · 9.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
/* zfs_config.h. Generated from zfs_config.h.in by configure. */
/* zfs_config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 to enabled dmu tx validation */
/* #undef DEBUG_DMU_TX */
/* invalidate_bdev() wants 1 arg */
#define HAVE_1ARG_INVALIDATE_BDEV 1
/* bdi_setup_and_register() wants 2 args */
#define HAVE_2ARGS_BDI_SETUP_AND_REGISTER 1
/* bio_end_io_t wants 2 args */
#define HAVE_2ARGS_BIO_END_IO_T 1
/* bdi_setup_and_register() wants 3 args */
/* #undef HAVE_3ARGS_BDI_SETUP_AND_REGISTER */
/* blkdev_get() wants 3 args */
#define HAVE_3ARG_BLKDEV_GET 1
/* sget() wants 5 args */
#define HAVE_5ARG_SGET 1
/* security_inode_init_security wants 6 args */
/* #undef HAVE_6ARGS_SECURITY_INODE_INIT_SECURITY */
/* dops->automount() exists */
#define HAVE_AUTOMOUNT 1
/* struct block_device_operations use bdevs */
#define HAVE_BDEV_BLOCK_DEVICE_OPERATIONS 1
/* bdev_logical_block_size() is available */
#define HAVE_BDEV_LOGICAL_BLOCK_SIZE 1
/* bdev_physical_block_size() is available */
#define HAVE_BDEV_PHYSICAL_BLOCK_SIZE 1
/* bio has bi_iter */
#define HAVE_BIO_BVEC_ITER 1
/* REQ_FAILFAST_MASK is defined */
#define HAVE_BIO_REQ_FAILFAST_MASK 1
/* BIO_RW_FAILFAST is defined */
/* #undef HAVE_BIO_RW_FAILFAST */
/* BIO_RW_FAILFAST_* are defined */
/* #undef HAVE_BIO_RW_FAILFAST_DTD */
/* BIO_RW_SYNC is defined */
/* #undef HAVE_BIO_RW_SYNC */
/* BIO_RW_SYNCIO is defined */
/* #undef HAVE_BIO_RW_SYNCIO */
/* blkdev_get_by_path() is available */
#define HAVE_BLKDEV_GET_BY_PATH 1
/* blk_end_request() is available */
#define HAVE_BLK_END_REQUEST 1
/* blk_end_request() is GPL-only */
/* #undef HAVE_BLK_END_REQUEST_GPL_ONLY */
/* blk_fetch_request() is available */
#define HAVE_BLK_FETCH_REQUEST 1
/* blk_queue_discard() is available */
#define HAVE_BLK_QUEUE_DISCARD 1
/* blk_queue_flush() is available */
#define HAVE_BLK_QUEUE_FLUSH 1
/* blk_queue_flush() is GPL-only */
/* #undef HAVE_BLK_QUEUE_FLUSH_GPL_ONLY */
/* blk_queue_io_opt() is available */
#define HAVE_BLK_QUEUE_IO_OPT 1
/* blk_queue_max_hw_sectors() is available */
#define HAVE_BLK_QUEUE_MAX_HW_SECTORS 1
/* blk_queue_max_segments() is available */
#define HAVE_BLK_QUEUE_MAX_SEGMENTS 1
/* blk_queue_nonrot() is available */
#define HAVE_BLK_QUEUE_NONROT 1
/* blk_queue_physical_block_size() is available */
#define HAVE_BLK_QUEUE_PHYSICAL_BLOCK_SIZE 1
/* blk_requeue_request() is available */
#define HAVE_BLK_REQUEUE_REQUEST 1
/* blk_rq_bytes() is available */
#define HAVE_BLK_RQ_BYTES 1
/* blk_rq_bytes() is GPL-only */
/* #undef HAVE_BLK_RQ_BYTES_GPL_ONLY */
/* blk_rq_pos() is available */
#define HAVE_BLK_RQ_POS 1
/* blk_rq_sectors() is available */
#define HAVE_BLK_RQ_SECTORS 1
/* struct block_device_operations.release returns void */
#define HAVE_BLOCK_DEVICE_OPERATIONS_RELEASE_VOID 1
/* security_inode_init_security wants callback */
#define HAVE_CALLBACK_SECURITY_INODE_INIT_SECURITY 1
/* iops->check_acl() exists */
/* #undef HAVE_CHECK_ACL */
/* iops->check_acl() wants flags */
/* #undef HAVE_CHECK_ACL_WITH_FLAGS */
/* check_disk_size_change() is available */
#define HAVE_CHECK_DISK_SIZE_CHANGE 1
/* clear_inode() is available */
#define HAVE_CLEAR_INODE 1
/* eops->commit_metadata() exists */
#define HAVE_COMMIT_METADATA 1
/* dentry uses const struct dentry_operations */
#define HAVE_CONST_DENTRY_OPERATIONS 1
/* super_block uses const struct xattr_hander */
#define HAVE_CONST_XATTR_HANDLER 1
/* iops->create() operation takes nameidata */
/* #undef HAVE_CREATE_NAMEIDATA */
/* current_umask() exists */
#define HAVE_CURRENT_UMASK 1
/* DECLARE_EVENT_CLASS() is available */
#define HAVE_DECLARE_EVENT_CLASS 1
/* xattr_handler->get() wants dentry */
#define HAVE_DENTRY_XATTR_GET 1
/* xattr_handler->list() wants dentry */
#define HAVE_DENTRY_XATTR_LIST 1
/* xattr_handler->set() wants dentry */
#define HAVE_DENTRY_XATTR_SET 1
/* sops->dirty_inode() wants flags */
#define HAVE_DIRTY_INODE_WITH_FLAGS 1
/* ql->discard_granularity is available */
#define HAVE_DISCARD_GRANULARITY 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* d_make_root() is available */
#define HAVE_D_MAKE_ROOT 1
/* d_obtain_alias() is available */
#define HAVE_D_OBTAIN_ALIAS 1
/* dops->d_revalidate() operation takes nameidata */
/* #undef HAVE_D_REVALIDATE_NAMEIDATA */
/* d_set_d_op() is available */
#define HAVE_D_SET_D_OP 1
/* elevator_change() is available */
#define HAVE_ELEVATOR_CHANGE 1
/* eops->encode_fh() wants child and parent inodes */
#define HAVE_ENCODE_FH_WITH_INODE 1
/* sops->evict_inode() exists */
#define HAVE_EVICT_INODE 1
/* fops->fallocate() exists */
#define HAVE_FILE_FALLOCATE 1
/* file_inode() is available */
#define HAVE_FILE_INODE 1
/* kernel defines fmode_t */
#define HAVE_FMODE_T 1
/* sops->free_cached_objects() exists */
/* #undef HAVE_FREE_CACHED_OBJECTS */
/* fops->fsync() with range */
#define HAVE_FSYNC_RANGE 1
/* fops->fsync() without dentry */
/* #undef HAVE_FSYNC_WITHOUT_DENTRY */
/* fops->fsync() with dentry */
/* #undef HAVE_FSYNC_WITH_DENTRY */
/* iops->get_acl() exists */
#define HAVE_GET_ACL 1
/* blk_disk_ro() is available */
#define HAVE_GET_DISK_RO 1
/* get_gendisk() is available */
#define HAVE_GET_GENDISK 1
/* fops->fallocate() exists */
/* #undef HAVE_INODE_FALLOCATE */
/* inode_owner_or_capable() exists */
#define HAVE_INODE_OWNER_OR_CAPABLE 1
/* iops->truncate_range() exists */
/* #undef HAVE_INODE_TRUNCATE_RANGE */
/* insert_inode_locked() is available */
#define HAVE_INSERT_INODE_LOCKED 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* is_owner_or_cap() exists */
/* #undef HAVE_IS_OWNER_OR_CAP */
/* kernel defines KOBJ_NAME_LEN */
/* #undef HAVE_KOBJ_NAME_LEN */
/* Define if you have libblkid */
/* #undef HAVE_LIBBLKID */
/* Define if you have libuuid */
/* #undef HAVE_LIBUUID */
/* Define to 1 if you have the `z' library (-lz). */
/* #undef HAVE_LIBZ */
/* lookup_bdev() is available */
#define HAVE_LOOKUP_BDEV 1
/* iops->lookup() operation takes nameidata */
/* #undef HAVE_LOOKUP_NAMEIDATA */
/* lseek_execute() is available */
/* #undef HAVE_LSEEK_EXECUTE */
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* iops->create()/mkdir()/mknod() take umode_t */
#define HAVE_MKDIR_UMODE_T 1
/* Define to 1 if you have the `mlockall' function. */
/* #undef HAVE_MLOCKALL */
/* mount_nodev() is available */
#define HAVE_MOUNT_NODEV 1
/* sops->nr_cached_objects() exists */
/* #undef HAVE_NR_CACHED_OBJECTS */
/* open_bdev_exclusive() is available */
/* #undef HAVE_OPEN_BDEV_EXCLUSIVE */
/* iops->permission() exists */
#define HAVE_PERMISSION 1
/* iops->permission() with nameidata exists */
/* #undef HAVE_PERMISSION_WITH_NAMEIDATA */
/* inode contains i_acl and i_default_acl */
#define HAVE_POSIX_ACL_CACHING 1
/* posix_acl_chmod() exists */
/* #undef HAVE_POSIX_ACL_CHMOD */
/* posix_acl_equiv_mode wants umode_t* */
#define HAVE_POSIX_ACL_EQUIV_MODE_UMODE_T 1
/* posix_acl_from_xattr() needs user_ns */
#define HAVE_POSIX_ACL_FROM_XATTR_USERNS 1
/* posix_acl_release() is available */
#define HAVE_POSIX_ACL_RELEASE 1
/* posix_acl_release() is GPL-only */
#define HAVE_POSIX_ACL_RELEASE_GPL_ONLY 1
/* REQ_SYNC is defined */
#define HAVE_REQ_SYNC 1
/* rq_for_each_segment() is available */
#define HAVE_RQ_FOR_EACH_SEGMENT 1
/* rq_for_each_segment() wants bio_vec */
#define HAVE_RQ_FOR_EACH_SEGMENT_BV 1
/* rq_for_each_segment() wants bio_vec * */
/* #undef HAVE_RQ_FOR_EACH_SEGMENT_BVP */
/* rq_is_sync() is available */
#define HAVE_RQ_IS_SYNC 1
/* set_nlink() is available */
#define HAVE_SET_NLINK 1
/* sops->show_options() with dentry */
#define HAVE_SHOW_OPTIONS_WITH_DENTRY 1
/* struct super_block has s_shrink */
/* #undef HAVE_SHRINK */
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* struct super_block has s_d_op */
#define HAVE_S_D_OP 1
/* struct super_block has s_instances list_head */
/* #undef HAVE_S_INSTANCES_LIST_HEAD */
/* truncate_setsize() is available */
#define HAVE_TRUNCATE_SETSIZE 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* fops->iterate() is available */
#define HAVE_VFS_ITERATE 1
#define HAVE_ITER_FOPS 1
/* fops->readdir() is available */
/* #undef HAVE_VFS_READDIR */
/* Define if you have zlib */
/* #undef HAVE_ZLIB */
/* __posix_acl_chmod() exists */
#define HAVE___POSIX_ACL_CHMOD 1
/* Define to the sub-directory where libtool stores uninstalled libraries. */
#define LT_OBJDIR ".libs/"
/* zfs debugging enabled */
/* #undef ZFS_DEBUG */
/* Define to 1 if GPL-only symbols can be used */
/* #undef ZFS_IS_GPL_COMPATIBLE */
/* Define the project alias string. */
#define ZFS_META_ALIAS "zfs-0.6.4.1-r1-gentoo"
/* Define the project author. */
#define ZFS_META_AUTHOR "OpenZFS on Linux"
/* Define the project release date. */
/* #undef ZFS_META_DATA */
/* Define the project license. */
#define ZFS_META_LICENSE "CDDL"
/* Define the libtool library 'age' version information. */
/* #undef ZFS_META_LT_AGE */
/* Define the libtool library 'current' version information. */
/* #undef ZFS_META_LT_CURRENT */
/* Define the libtool library 'revision' version information. */
/* #undef ZFS_META_LT_REVISION */
/* Define the project name. */
#define ZFS_META_NAME "zfs"
/* Define the project release. */
#define ZFS_META_RELEASE "r1-gentoo"
/* Define the project version. */
#define ZFS_META_VERSION "0.6.4.1"