<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/dfs/dfs_v2/include/dfs_fs.h, branch master</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/include/dfs_fs.h?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/dfs/dfs_v2/include/dfs_fs.h?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2025-01-06T11:34:16Z</updated>
<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>sync smart &amp; dfs (#8672)</title>
<updated>2024-03-28T15:42:56Z</updated>
<author>
<name>Shell</name>
<email>smokewood@qq.com</email>
</author>
<published>2024-03-28T15:42:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=83e95bdff4c48c661b50e1eec56d5fd293b28fbb'/>
<id>urn:sha1:83e95bdff4c48c661b50e1eec56d5fd293b28fbb</id>
<content type='text'>
Signed-off-by: xqyjlj &lt;xqyjlj@126.com&gt;
Signed-off-by: Shell &lt;smokewood@qq.com&gt;
Co-authored-by: xqyjlj &lt;xqyjlj@126.com&gt;</content>
</entry>
<entry>
<title>add sys_utimensat (#8124)</title>
<updated>2023-10-13T11:21:49Z</updated>
<author>
<name>xiao-mang</name>
<email>53597406+xiao-mang@users.noreply.github.com</email>
</author>
<published>2023-10-13T11:21:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5d16042765ac989cab9bb4e9b112f1a98e17f4d5'/>
<id>urn:sha1:5d16042765ac989cab9bb4e9b112f1a98e17f4d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update dfs (#7887)</title>
<updated>2023-08-02T05:59:43Z</updated>
<author>
<name>geniusgogo</name>
<email>2041245+geniusgogo@users.noreply.github.com</email>
</author>
<published>2023-08-02T05:59:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=69d94315b8453ed1986a8a7a4cbd5835deceb3be'/>
<id>urn:sha1:69d94315b8453ed1986a8a7a4cbd5835deceb3be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[dfs] Add DFS v2.0 (#7606)</title>
<updated>2023-06-10T13:35:25Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2023-06-10T13:35:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=99e80f8d3311a5222a028165f9d708870a3bb301'/>
<id>urn:sha1:99e80f8d3311a5222a028165f9d708870a3bb301</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[DFS] prepare for dfs_v2.0 (#7200)</title>
<updated>2023-04-08T14:25:51Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2023-04-08T14:25:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9600b75b55dace1c4efef8551059df3d673b21ad'/>
<id>urn:sha1:9600b75b55dace1c4efef8551059df3d673b21ad</id>
<content type='text'>
* [DFS] prepare for dfs_v2. dfs_fd -&gt; dfs_file; dfs_fnode -&gt; dfs_vnode.

* [BSP] fix code analysis warning

* [smart] fix the pointer overflow.

* code format

* [smart] fix the lwp-&gt;lwp_obj checking.</content>
</entry>
<entry>
<title>[DFS] add Kconfig for dfs-v2.0 (#7156)</title>
<updated>2023-04-04T07:02:56Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2023-04-04T07:02:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=23955edf53422c20127ef0138b889016a1ba2341'/>
<id>urn:sha1:23955edf53422c20127ef0138b889016a1ba2341</id>
<content type='text'>
* [DFS] add Kconfig for dfs-v2.0

* [DFS] Optimize the SConscript.

* [dfs] move old dfs to dfs/dfs_v1</content>
</entry>
</feed>
