Whamcloud - gitweb
- more systematic unpacking/packing and handling of update records
[fs/lustre-release.git] / lustre / tests / testreq.c
index 00f7a6b..aeacddf 100644 (file)
@@ -7,6 +7,7 @@
 #define IOC_REQUEST_GETATTR            _IOWR('f', 30, long)
 #define IOC_REQUEST_READPAGE           _IOWR('f', 31, long)
 #define IOC_REQUEST_SETATTR            _IOWR('f', 32, long)
+#define IOC_REQUEST_CREATE             _IOWR('f', 33, long)
 
 int main(int argc, char **argv)
 {
@@ -33,5 +34,9 @@ int main(int argc, char **argv)
        printf("setattr test... ");
        rc = ioctl(fd, IOC_REQUEST_SETATTR, NULL); 
        printf("result: %d\n", rc); 
+
+       printf("create test... ");
+       rc = ioctl(fd, IOC_REQUEST_CREATE, NULL); 
+       printf("result: %d\n", rc); 
        return 0;
 }