1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _BCACHEFS_LOGGED_OPS_FORMAT_H 3 #define _BCACHEFS_LOGGED_OPS_FORMAT_H 4 5 struct bch_logged_op_truncate { 6 struct bch_val v; 7 __le32 subvol; 8 __le32 pad; 9 __le64 inum; 10 __le64 new_i_size; 11 }; 12 13 enum logged_op_finsert_state { 14 LOGGED_OP_FINSERT_start, 15 LOGGED_OP_FINSERT_shift_extents, 16 LOGGED_OP_FINSERT_finish, 17 }; 18 19 struct bch_logged_op_finsert { 20 struct bch_val v; 21 __u8 state; 22 __u8 pad[3]; 23 __le32 subvol; 24 __le64 inum; 25 __le64 dst_offset; 26 __le64 src_offset; 27 __le64 pos; 28 }; 29 30 #endif /* _BCACHEFS_LOGGED_OPS_FORMAT_H */ 31
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.