File tree 3 files changed +7
-1
lines changed
src/unix/linux_like/linux/gnu
3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -3596,6 +3596,9 @@ fn test_linux(target: &str) {
3596
3596
// Added in Linux 5.14
3597
3597
"FUTEX_LOCK_PI2" => true ,
3598
3598
3599
+ // Added in linux 6.1
3600
+ "STATX_DIOALIGN" => true ,
3601
+
3599
3602
// FIXME: Parts of netfilter/nfnetlink*.h require more recent kernel headers:
3600
3603
| "RTNLGRP_MCTP_IFADDR" // linux v5.17+
3601
3604
| "RTNLGRP_TUNNEL" // linux v5.18+
Original file line number Diff line number Diff line change @@ -435,6 +435,7 @@ STATX_BASIC_STATS
435
435
STATX_BLOCKS
436
436
STATX_BTIME
437
437
STATX_CTIME
438
+ STATX_DIOALIGN
438
439
STATX_GID
439
440
STATX_INO
440
441
STATX_MNT_ID
Original file line number Diff line number Diff line change 37
37
pub stx_dev_major: u32 ,
38
38
pub stx_dev_minor: u32 ,
39
39
pub stx_mnt_id: u64 ,
40
- __statx_pad2: u64 ,
40
+ pub stx_dio_mem_align: u32 ,
41
+ pub stx_dio_offset_align: u32 ,
41
42
__statx_pad3: [ u64 ; 12 ] ,
42
43
}
43
44
@@ -1022,6 +1023,7 @@ pub const STATX_BLOCKS: ::c_uint = 0x0400;
1022
1023
pub const STATX_BASIC_STATS : :: c_uint = 0x07ff ;
1023
1024
pub const STATX_BTIME : :: c_uint = 0x0800 ;
1024
1025
pub const STATX_MNT_ID : :: c_uint = 0x1000 ;
1026
+ pub const STATX_DIOALIGN : :: c_uint = 0x2000 ;
1025
1027
pub const STATX_ALL : :: c_uint = 0x0fff ;
1026
1028
pub const STATX__RESERVED : :: c_int = 0x80000000 ;
1027
1029
pub const STATX_ATTR_COMPRESSED : :: c_int = 0x0004 ;
You can’t perform that action at this time.
0 commit comments