Details
-
New Feature
-
Resolution: Fixed
-
Minor
-
Lustre 2.1.0, Lustre 2.5.0
-
14,489
-
8383
Description
Implement an interface for sending IO Control (ioctl) commands from userspace through the Lustre mount point to the underlying ldiskfs filesystem to allow execution of filesystem-wide ioctl() commands, such as resize. This will allow user-space tools that operate via ioctl() commands on the filesystem mountpoint to be used on the Lustre MDT and OST filesystems while they are mounted and in use subject to any limitations of the original ioctl() commands themselves.
Attachments
Issue Links
- is related to
-
LU-5822 health_check file not updating properly
-
- Resolved
-
-
LU-4795 server_put_mount() calls server_deregister_mount() even if this isn't the last reference
-
- Resolved
-
-
LU-8151 OST/MDT /proc/mounts always shows "ro" for server mountpoints
-
- Resolved
-
-
LU-16835 lustre-initialization: Operation not supported while trying to set fs label, tune2fs 1.47.0-wc1
-
- Resolved
-
-
LU-4931 New feature of giving server/storage side advice of accessing file
-
- Resolved
-
-
LU-17027 missing #include <linux/file.h> in lustre/target/tgt_mount.c
-
- Resolved
-
Hi Andeas,
I have ported the ioctl_passthru-1_8.patch to the latest master.
With this patch I tested EXT4_IOC_GETFLAGS and EXT4_IOC_GETVERSION ioctls on OST and MDT mountpoints. These ioctls work and return expected values.
I have added this a testcase in sanity.sh
The patch can be found here -> http://review.whamcloud.com/#/c/7354/
I tried the EXT4_IOC_SETVERSION ioctl but that resulted in a crash.
Is that expected?