search for: fs_ioc_getflags

Displaying 3 results from an estimated 3 matches for "fs_ioc_getflags".

2013 Nov 21
9
[PATCH] vhd-util create: add -C|nocow option
...NOCOW flag to solve performance issue on fs like btrfs. + * This is an optimisation. The FS_IOC_SETFLAGS ioctl return value will + * be ignored since any failure of this operation should not block the + * left work. + */ + if (ioctl(ctx.fd, FS_IOC_GETFLAGS, &attr) == 0) { + attr |= FS_NOCOW_FL; + ioctl(ctx.fd, FS_IOC_SETFLAGS, &attr); + } +#endif + } + ctx.file = strdup(name); if (!ctx.file) { err = -ENOMEM; diff --git a/tools/blktap2/vhd/lib/vhd-util-create.c b/tools/blktap2/vhd/lib/vhd-...
2012 Sep 03
1
[GIT-PULL] XFS filesystem driver
...ne XFS_FSOP_GOING_FLAGS_DEFAULT 0x0 /* going down */ +#define XFS_FSOP_GOING_FLAGS_LOGFLUSH 0x1 /* flush log but not data */ +#define XFS_FSOP_GOING_FLAGS_NOLOGFLUSH 0x2 /* don't flush log nor data */ + +/* + * ioctl commands that are used by Linux filesystems + */ +#define XFS_IOC_GETXFLAGS FS_IOC_GETFLAGS +#define XFS_IOC_SETXFLAGS FS_IOC_SETFLAGS +#define XFS_IOC_GETVERSION FS_IOC_GETVERSION + +/* + * ioctl commands that replace IRIX fcntl()'s + * For 'documentation' purposed more than anything else, + * the "cmd #" field reflects the IRIX fcntl number. + */ +#define XFS_IOC_A...
2018 Dec 06
3
Build error while upgrading samba 4.9.3
...: yes building without cluster support (--without-cluster-support) Checking whether seekdir returns void : yes Checking for header linux/fs.h : yes Checking for declaration of FS_IOC_GETFLAGS : yes Checking for declaration of FS_COMPR_FL : yes Checking for header cephfs/libcephfs.h : no Checking for glusterfs-api >= 4...