#
c6bb9327 |
|
02-May-2023 |
Mashijams <raghavself28@gmail.com> |
xfs: fix performance issue related to xattrs xfs by default adds xattrs format as extents in inode for directories even when there are no disk blocks allocated to extents, this made our driver looking for invalid extents and caused performance issue. By adding a simple check for number of attribute extents in inode we fix this issue. Change-Id: Idf86bb7822926c2ea311f6bbc2dfdcbee4d8930f Reviewed-on: https://review.haiku-os.org/c/haiku/+/6403 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: John Scipione <jscipione@gmail.com> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
28cea299 |
|
02-May-2023 |
Mashijams <raghavself28@gmail.com> |
xfs: return B_OK in xfs_free_dir_cookie() function instead of B_NOT_SUPPORTED Change-Id: If9fa6deff9057653e7cb717fe9fe6ef1b0964c40 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6401 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
4133750c |
|
27-Jan-2023 |
Augustin Cavalier <waddlesplash@gmail.com> |
exfat & xfs: Adapt to use next_dirent and shared open_mode_to_access.
|
#
62a64d0a |
|
25-Oct-2022 |
Mashijams <raghavself28@gmail.com> |
xfs: make Directory Iterator class an abstract class Directory Iterator class represents one instance which could be Short, Extent, Leaf, Node or B+Tree, a good case for making it an abstract class Change-Id: I925255caf4c4f8bc01a975740ef2ebf0bb2e1b49 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5764 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
99071c0c |
|
05-Sep-2022 |
Mashijams <raghavself28@gmail.com> |
xfs: Symbolic links support - Necessary hooks for reading symlinks are implemented - Added support for local symlinks - Added support for extent based symlinks - This patch completes #17791 Change-Id: If6847974562b21f751097df357326f4643eff757 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5621 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
b4b3f69f |
|
25-Aug-2022 |
Mashijams <raghavself28@gmail.com> |
xfs: extended attributes necessary hooks and shortform attributes support - Implemented all necessary hooks for extended attributes in kernel_interface.cpp - Implemented an abstract class attribute which will act as an interface between all forms of extended attributes in xfs - An attempt to read shortform extended attributes Change-Id: Icff9329b790f9fcfc0b078f61059795af9d9e486 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5570 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
b65cc53f |
|
13-Aug-2022 |
Mashijams <raghavself28@gmail.com> |
xfs: fixing bugs, Enable Werror Fixed bug on reading files inside Haiku using CAT command on shell Fixed bug on reading small directories inside Haiku Node directories can now be read fine, which fixes #17839 LongBlock verification is now through common VerifyHeader function Change-Id: I1eb651bd084580c86d0facb919825e94488e43d2 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5546 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
6c478b54 |
|
24-Jun-2022 |
Mashijams <raghavself28@gmail.com> |
xfs: version 3 Inodes and shortform directory - Implemented xfs v5 inodes (known as v3 inodes) and necessary metadata integrity checks - Implemented correct data fork pointer which handles both xfs v4 and v5 directories - We can now read inodes and shortform directories for both xfs versions completely fine Change-Id: I8a75ec1dc663d567d3bf6db64be4a27b55d709b3 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5396 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
b666bf3f |
|
28-Apr-2022 |
Mashijams <raghavself28@gmail.com> |
xfs : Enabling -Werror and fixing all build issues that result This patch will fix almost all warnings we have in xfs code. There are some which I haven't fixed yet, I added comments on part of code which is giving error and its type as well. I tested all the changes on xfs_shell and everything is working fine. Change-Id: I1af1d09e7eab7f2c2397193bd5a584c5d40c424c Reviewed-on: https://review.haiku-os.org/c/haiku/+/5257 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
711e2dc0 |
|
01-Dec-2021 |
Augustin Cavalier <waddlesplash@gmail.com> |
Adjust all struct dirent creations (again), this time to use offsetof(). The dirent struct is not packed, so offsetof(dirent, d_name) != sizeof(dirent). Thus in order not to waste the alignment bytes (which are significant, on x86_64 at least, sizeof(dirent)==32, but offsetof(...)=26.) This is also the most portable way to handle things, and should work just fine in cross-platform code that has a non-zero-sized d_name.
|
#
9d242fb9 |
|
18-Nov-2021 |
Augustin Cavalier <waddlesplash@gmail.com> |
file_systems & Tracker: Do not assume sizeof(dirent) contains 1 byte for the name. At present, it does, but that is an oddity we have preserved from BeOS that the next commit is going to remove. (This commit thus wastes 1 byte without the following one.) Most changes are pretty straightforward: only a +1 is needed, and a few removed from sizing calculations. Some filesystems like UDF originally passed back the length with the \0 included, so they have been adjusted further. UFS2 had some other sizing problems which are also corrected in this commit.
|
#
68c3f45d |
|
17-Aug-2020 |
CruxBox <shubhambhagat111@yahoo.com> |
xfs: Attempt at reading extent based files There are 2 issues right now. One is that I have to give cat command the entire file size for it to print the entire file. The second issue is that I am getting segmentation fault for some reason, and it doesn't even have to do with xfs_read(). For more info: https://review.haiku-os.org/c/haiku/+/3154 Change-Id: I8e3acd658730ed2339dabbd671820c409332f296 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3154 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
4a2870fc |
|
16-Aug-2020 |
CruxBox <shubhambhagat111@yahoo.com> |
xfs: Check Permissions Implemented the xfs_access hook and we now check for permissions where required. Change-Id: Idaa71f300e0a73951d13073b66cb9ff37dbfa3ec Reviewed-on: https://review.haiku-os.org/c/haiku/+/3151 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
bd0708fd |
|
12-Jul-2020 |
CruxBox <shubhambhagat111@yahoo.com> |
xfs: Attempt at reading Leaf Directories We can read leaf directories now but I've only checked for a single block working right now. I might make a few more changes in an upcoming patch. Change-Id: I325de8a6fad4ef9298e7810256cba47a87c45187 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3027 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
a20b8809 |
|
08-Sep-2020 |
CruxBox <shubhambhagat111@yahoo.com> |
xfs: Renaming variables and bug fix in read_dir Main issue was use of sizeof(dirent) instead of sizeof(struct dirent). It didn't cause any issue before but I found it ambiguous. Also, renamed the dirent variable to buffer to remove any ambiguity. Change-Id: I36ab40eea354424a4fddc3292ee7e1aaed446859 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3198 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
9593c05a |
|
02-Jul-2020 |
CruxBox <shubhambhagat111@yahoo.com> |
xfs: An attempt to read block directories Map entries can be read, most structures are in place. Next is to actually work with the directory block. Change-Id: I700ee2e003bdef97838b1f06a95e53a5e4293658 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2981 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
a060fa96 |
|
25-Jun-2020 |
CruxBox <shubhambhagat111@yahoo.com> |
xfs: Read Short Form Directories We can now read short form directories. Change-Id: I23eb6ef52e8bb07643213e603ed0185f536c649f Reviewed-on: https://review.haiku-os.org/c/haiku/+/2952 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
7e1b5cf8 |
|
13-Jun-2020 |
CruxBox <shubhambhagat111@yahoo.com> |
xfs: An attempt at reading shortform dir This patch gets read_dir, lookup and few others to work. Entries cannot be listed yet except the root. Change-Id: Ic4b7b61a794a1b75849e45777a383b3315b15aa8 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2915 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
e3e93916 |
|
01-Jun-2020 |
CruxBox <shubhambhagat111@yahoo.com> |
xfs: get_vnode and read_stat hook This patch aimed at implementing the get_vnode and read_stat hook. read_stat seems to work well, get_vnode can be checked after working on dir. Change-Id: I487915b7e8f6ee6f97349b0c638676d5389cd2df Reviewed-on: https://review.haiku-os.org/c/haiku/+/2859 Reviewed-by: Chế Vũ Gia Hy <cvghy116@gmail.com> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
0ba51bc8 |
|
26-Mar-2020 |
CruxBox <shubhambhagat111@yahoo.com> |
read_fs_info() hook for xfs xfs: read_fs_info() hook. Change-Id: I817b1ca2cd37d1dc894cdeefac967f659cfcb502 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2416 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
2deffe2f |
|
27-Feb-2020 |
CruxBox <shubhambhagat111@yahoo.com> |
Adding superblock, types, xfs_mount and volume Superblock work is done. A valid superblock is now detected. xfs_shell will fail though, because the filesystem does not own it's root node. Change-Id: I78e3c21c4d0dd8e535fd24df4a0c107ed5fb201c Reviewed-on: https://review.haiku-os.org/c/haiku/+/2286 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
80f73964 |
|
09-Jan-2020 |
CruxBox <shubhambhagat111@yahoo.com> |
Making of xfs file system xfs_shell is modeled over bfs_shell. It fails to mount the filesystem as expected (the filesystem code isn't implemented). Change-Id: Iaf88c1f4aef338f249fdc58bc27a3ad76ebd5d95 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2096 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|