aboutsummaryrefslogtreecommitdiff
path: root/release/tools
diff options
context:
space:
mode:
authorFedor Uporov <fsu@FreeBSD.org>2022-12-05 17:04:42 +0000
committerFedor Uporov <fsu@FreeBSD.org>2023-01-29 08:13:14 +0000
commit56242a4c6566580d7612bcb0d9fc4559f3208921 (patch)
tree529b4a98ad4778f56df5bf518c41ec64ab8b7d20 /release/tools
parent0de4895aac4ef86dcde43ec8c992b8abd1a3fcbf (diff)
downloadsrc-main.tar.gz
src-main.zip
Add extended attributesHEADmain
The extattrs follows semantic of ufs, mean it cannot be set to char/block devices and fifos. The attributes are allocated using regular malloc with M_WAITOK allocation with the own malloc tag M_TMPFSEA. The memory consumed by extended attributes is limited to avoid OOM triggereing by tmpfs_mount variable tm_ea_memory_max, which is set initialy to 16 MB. The extended attributes entries are stored as linked list in the tmpfs node. The mount point lock is required only under setextattr and deleteextattr to update extended attributes memory-inuse counter, all other operations are doing under vnode lock. Reviewed by: kib MFC after: 2 week Differential revision: https://reviews.freebsd.org/D38052
Diffstat (limited to 'release/tools')
0 files changed, 0 insertions, 0 deletions