Skip to content

Commit df0d4f4

Browse files
committed
doc: migration-guide-4.3: Add entry about file descriptor table changes
The file descriptor table size is now controlled by adding together the values of CONFIG_ZVFS_OPEN_ADD_SIZE_* options.
1 parent b54e2e1 commit df0d4f4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/releases/migration-guide-4.3.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ Base Libraries
4141
* ``Z_MIN``, ``Z_MAX`` and ``Z_CLAMP`` macros have been renamed to
4242
:c:macro:`min` :c:macro:`max` and :c:macro:`clamp`.
4343

44+
* The number of file descriptor table size and its availability is now determined by
45+
a ``ZVFS_OPEN_SIZE`` define instead of the :kconfig:option:`CONFIG_ZVFS_OPEN_MAX`
46+
Kconfig option. Subsystems can specify their own custom file descriptor table size
47+
requirements by specifying Kconfig options with the prefix ``CONFIG_ZVFS_OPEN_ADD_SIZE_``.
48+
The old Kconfig option still exists, but will be overridden if the custom requirements
49+
are larger. To force the old Kconfig option to be used, even when its value is less
50+
than the indicated custom requirements, a new :kconfig:option:`CONFIG_ZVFS_OPEN_IGNORE_MIN`
51+
option has been introduced (which defaults being disabled).
52+
4453
Boards
4554
******
4655

0 commit comments

Comments
 (0)