Re: [edk2-devel] [PATCH v3 1/2] Ext4Pkg: Improve Ext4IsBindingSupported() behavior

2021-09-13 Thread Pedro Falcato
On BY_DRIVER, Jeff reached the conclusion that we can't open the BLOCK_IO protocol with BY_DRIVER since it's already owned by DiskIoDxe. The finding makes sense and is consistent with FatPkg's behaviour. As for the GET_PROTOCOL issue, feel free to send a patch ;) On Sun, Sep 12, 2021 at 11:40 AM M

Re: [edk2-devel] [PATCH v3 1/2] Ext4Pkg: Improve Ext4IsBindingSupported() behavior

2021-09-12 Thread Marvin Häuser
On 11/09/2021 00:11, Jeff Brasen via groups.io wrote: A couple of improvements to improve performance. Add check to return ACCESS_DENIED if already connected Add check to verify superblock magic during supported to reduce start calls Signed-off-by: Jeff Brasen --- Features/Ext4Pkg/Ext4Dxe/Ext

[edk2-devel] [PATCH v3 1/2] Ext4Pkg: Improve Ext4IsBindingSupported() behavior

2021-09-10 Thread Jeff Brasen via groups.io
A couple of improvements to improve performance. Add check to return ACCESS_DENIED if already connected Add check to verify superblock magic during supported to reduce start calls Signed-off-by: Jeff Brasen --- Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.h| 14 +++ Features/Ext4Pkg/Ext4Dxe/Ext4Dxe.