History log of /haiku/src/add-ons/kernel/file_systems/xfs/Attribute.cpp
Revision Date Author Comments
# 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>


# 88131dc3 01-Sep-2022 Mashijams <raghavself28@gmail.com>

xfs: Node xattrs

- Implemented node based extended attributes support

- Both Versions of xfs node based extended attributes can be read now

Change-Id: I2d2915029435e7722cf463b1e2b5579b361dd592
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5606
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# efd335c7 29-Aug-2022 Mashijams <raghavself28@gmail.com>

xfs: leaf xattrs

- Implemented leaf based extended attributes on-disk headers

- Both version 4 and version 5 attributes can be read now

- Implemented all leaf headers check to ensure metadata integrity

Change-Id: Ifc3f2e433e991776bb02d1d38f621d5bd1554a4e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5600
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>