<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/dfs/dfs_v2/src, branch v5.2.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/dfs/dfs_v2/src?h=v5.2.1</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/dfs/dfs_v2/src?h=v5.2.1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-03-12T08:02:43Z</updated>
<entry>
<title>修复 MMCSD 宏拼写错误+内核开启LOG_D编译问题</title>
<updated>2025-03-12T08:02:43Z</updated>
<author>
<name>yixinghua121</name>
<email>111113527+yixinghua121@users.noreply.github.com</email>
</author>
<published>2025-03-12T08:02:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=983f02151af42c5ef8ac5718bda0cf39795652a9'/>
<id>urn:sha1:983f02151af42c5ef8ac5718bda0cf39795652a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: mm: added affinity pages allocator</title>
<updated>2025-02-25T03:26:30Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-11-28T09:53:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9386411d13d8f9085eebc1ac7515f008685ab447'/>
<id>urn:sha1:9386411d13d8f9085eebc1ac7515f008685ab447</id>
<content type='text'>
This patch introduces a tagged pages allocator to address the existing problems
of page aliasing on specific platforms and the requirement of page coloring.
It implements an affinity-id aware page manager by separating the runtime page
list into two types: a normal single linked-list and a multi-dimensional affinity-list.

Changes:
- Introduced tagged pages allocator and managing algorithm for affinity pages list
- Modified components to support affinity-id list management
- Updated page allocation and freeing functions to handle tagged pages
- Added configuration options for page affinity block size and debugging
- Modified mmap and elf loading to respect affinity settings
- Enhanced page list management to support multi-dimensional affinity-list

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>doxygen: add prefix for groups (#9991)</title>
<updated>2025-02-15T04:15:19Z</updated>
<author>
<name>Chen Wang</name>
<email>unicorn_wang@outlook.com</email>
</author>
<published>2025-02-15T04:15:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c40b79037ce8bb09ba95411ebee1b22631cf9027'/>
<id>urn:sha1:c40b79037ce8bb09ba95411ebee1b22631cf9027</id>
<content type='text'>
* doxygen: add prefix for groups

Add "group_" prefix to doxygen group names. This makes
it easier to grep with group name later.

This patch only modifies the groups defined in the pathes
of INPUT of documentation/Doxyfile:

INPUT = . \
        ../src \
        ../include \
        ../components/finsh \
        ../components/drivers/include/drivers \
        ../components/drivers/clk \
        ../components/dfs/dfs_v2/src \
        ../components/dfs/dfs_v2/include

Other groups are not touched.

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;

* ci: fixed error report when run file_check.py

Such as:
- "please delete extra space at the end of this line."
- "the RT-Thread error code should return negative value. e.g. return
  -RT_ERROR"

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;

---------

Signed-off-by: Chen Wang &lt;unicorn_wang@outlook.com&gt;</content>
</entry>
<entry>
<title>[dfs]mmap的文件在关闭后释放file指针 (#9917)</title>
<updated>2025-02-09T07:55:30Z</updated>
<author>
<name>heyuanjie87</name>
<email>943313837@qq.com</email>
</author>
<published>2025-02-09T07:55:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=d3d33ff9835c6230152b8f8b6ceb30dbc93666e1'/>
<id>urn:sha1:d3d33ff9835c6230152b8f8b6ceb30dbc93666e1</id>
<content type='text'>
* [dfs]mmap的文件在关闭后释放file指针</content>
</entry>
<entry>
<title>fixup: umount: set errno according to POSIX</title>
<updated>2025-01-06T11:34:16Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-11-18T09:16:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=8507c38222d6a47818c2fa8693a1b0e3aecabf11'/>
<id>urn:sha1:8507c38222d6a47818c2fa8693a1b0e3aecabf11</id>
<content type='text'>
According to the POSIX.1, we should give a EBUSY on umount(2) of busy
filesystem.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>feat: add support for dfs remount functionality</title>
<updated>2025-01-06T11:34:16Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-11-13T07:37:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b63b388d1f9341e97b9e62687271d74c70a40f86'/>
<id>urn:sha1:b63b388d1f9341e97b9e62687271d74c70a40f86</id>
<content type='text'>
This patch introduces a remount feature for the DFS, allowing for the
modification of mount parameters without unmounting the filesystem,
the remount functionality helps modify certain mount flags (like `MS_RDONLY`) without
requiring an unmount, providing more control over mounted filesystems in the system.

The updates is essential for user space init proc to cleanup the runtime
resource, ensuring clean handling of cached data and enhancing system
robustness during power down processing.

Changes:
- Defined new constants for remount flags in `dfs_fs.h`.
- Added the `dfs_remount()` function in `dfs_fs.c` to handle remount operations.
- Introduced a check for unsupported flags and handle error conditions such as invalid paths
  or non-directory targets.
- Updated the `dfs_mnt` structure in `dfs_mnt.h` to include a read-only flag (`MNT_RDONLY`).
- The `dfs_remount()` function allows changing the read-only status of a mounted filesystem.
- Added `MNT_LAZY_UMNT` and `MNT_RDONLY` flags to `dfs_mnt` structure.
- Introduced `dfs_mnt_setflags` function for dynamic flag management.
- Updated `dfs_remount` to utilize `dfs_mnt_setflags` for flag setting.
- Enhanced unmount operations with `dfs_mnt_umount_iter` and lazy unmounting.
- Added `dfs_pcache_clean` to handle cache cleanup for read-only mounts.
- Improved error reporting in `dfs_umount` for better user feedback.
- Refactored `sys_mount` to streamline parameter handling and support remounts.
- Introduced `_cp_from_usr_string` helper for user-space string operations.
- Updated internal APIs to ensure consistency in reference count management.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>feat: add system reboot and process teardown support</title>
<updated>2025-01-06T11:34:16Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-11-12T09:47:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=944f3d05b508d5eaeaabd8f5d2964847c80dbc3e'/>
<id>urn:sha1:944f3d05b508d5eaeaabd8f5d2964847c80dbc3e</id>
<content type='text'>
The patch introduces support for system reboot functionality and process teardown,
allowing for a clean shutdown and unmounting of the root filesystem. This is
necessary for ensuring a proper system shutdown process, especially when dealing
with resource cleanup and ensuring that all processes have exited before system
shutdown.

Changes:
- Added `lwp_teardown()` function to handle process cleanup and system teardown.
- Introduced `lwp_pid_wait_for_empty()` to wait for process ID table emptiness
  before proceeding with shutdown.
- Updated `dfs_mnt_unref()` to trigger callbacks when unmounting a filesystem.
- Added new reboot types (`RB_AUTOBOOT`, `RB_POWER_OFF`) and implemented their
  corresponding actions, including cleanup of processes and unmounting root
  filesystem.
- Extended `sys_reboot()` to handle reboot and power off types with appropriate
  callbacks for process and filesystem teardown.
- Introduced callback mechanism for root filesystem unmount notifications.

Signed-off-by: Shell &lt;smokewood@qq.com&gt;
</content>
</entry>
<entry>
<title>修复编译过程中的 DFS_V2报错、FAL警告</title>
<updated>2025-01-02T00:02:50Z</updated>
<author>
<name>yuqingli05</name>
<email>106426122+yuqingli05@users.noreply.github.com</email>
</author>
<published>2025-01-02T00:02:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=d57b7cb40af7e41624eb7b31fc38446921a975bf'/>
<id>urn:sha1:d57b7cb40af7e41624eb7b31fc38446921a975bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>doc(doxyge):fix doxygen path</title>
<updated>2024-12-09T22:12:59Z</updated>
<author>
<name>Supper Thomas</name>
<email>78900636@qq.com</email>
</author>
<published>2024-12-09T12:18:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5b75e1c8bfc89fa8c7894605c76622297323be98'/>
<id>urn:sha1:5b75e1c8bfc89fa8c7894605c76622297323be98</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[documentation][dfs]add some comments to dfs posix APIs for supplement.</title>
<updated>2024-12-01T02:09:58Z</updated>
<author>
<name>ligr</name>
<email>liguorui1213@163.com</email>
</author>
<published>2024-12-01T01:37:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=e9452ee98f34f8f9bb1cefd15da9f3f50a7a5308'/>
<id>urn:sha1:e9452ee98f34f8f9bb1cefd15da9f3f50a7a5308</id>
<content type='text'>
</content>
</entry>
</feed>
