Skip to content
Snippets Groups Projects
Commit bb05a3d2 authored by Jan Kara's avatar Jan Kara Committed by Frieder Schrempf
Browse files

udf: Limit file size to 4TB


commit c2efd13a upstream.

UDF disk format supports in principle file sizes up to 1<<64-1. However
the file space (including holes) is described by a linked list of
extents, each of which can have at most 1GB. Thus the creation and
handling of extents gets unusably slow beyond certain point. Limit the
file size to 4TB to avoid locking up the kernel too easily.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 45c3d768
No related branches found
No related tags found
1 merge request!166🤖 Sync Bot: Update v6.1-ktn to Latest Stable Kernel (v6.1.109)
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment