mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
39a4daf742
ZFS allows to update and retrieve additional file level attributes for FreeBSD. This commit allows additional file level attributes to be updated and retrieved for Linux. These include the flags stored in the upper half of z_pflags only. Two new IOCTLs have been added for this purpose. ZFS_IOC_GETDOSFLAGS can be used to retrieve the attributes, while ZFS_IOC_SETDOSFLAGS can be used to update the attributes. Attributes that are allowed to be updated include ZFS_IMMUTABLE, ZFS_APPENDONLY, ZFS_NOUNLINK, ZFS_ARCHIVE, ZFS_NODUMP, ZFS_SYSTEM, ZFS_HIDDEN, ZFS_READONLY, ZFS_REPARSE, ZFS_OFFLINE and ZFS_SPARSE. Flags can be or'd together while calling ZFS_IOC_SETDOSFLAGS. Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Umer Saleem <usaleem@ixsystems.com> Closes #13118 |
||
---|---|---|
.. | ||
badsend | ||
btree_test | ||
chg_usr_exec | ||
devname2devid | ||
dir_rd_update | ||
draid | ||
file_check | ||
file_trunc | ||
file_write | ||
get_diff | ||
getversion | ||
largest_file | ||
libzfs_input_check | ||
mkbusy | ||
mkfile | ||
mkfiles | ||
mktree | ||
mmap_exec | ||
mmap_libaio | ||
mmap_seek | ||
mmapwrite | ||
nvlist_to_lua | ||
randfree_file | ||
randwritecomp | ||
read_dos_attributes | ||
readmmap | ||
rename_dir | ||
rm_lnkcnt_zero_file | ||
send_doall | ||
stride_dd | ||
threadsappend | ||
user_ns_exec | ||
write_dos_attributes | ||
xattrtest | ||
file_common.h | ||
Makefile.am |