Re: [RESEND PATCH v9 1/3] libfs: Introduce case-insensitive string comparison helper

From: Gabriel Krisman Bertazi
Date: Fri Feb 09 2024 - 09:41:10 EST

Eugen Hristev <eugen.hristev@xxxxxxxxxxxxx> writes:

> On 2/8/24 20:38, Gabriel Krisman Bertazi wrote:

>> (untested)
> I implemented your suggestion, but any idea about testing ? I ran smoke on xfstests
> and it appears to be fine, but maybe some specific test case might try the
> different paths here ?

Other than running the fstests quick group for each affected filesystems
looking for regressions, the way I'd do it is create a few files and
look them up with exact and inexact name matches. While doing that,
observe through bpftrace which functions got called and what they

Here, since you are testing the uncached lookup, you want to make sure
to drop the cached version prior to each lookup.

Gabriel Krisman Bertazi