aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorRitesh Harjani <[email protected]>2023-07-16 19:33:34 +0530
committerTheodore Ts'o <[email protected]>2023-08-05 08:18:04 -0400
commit772c9f691dcf3a487f29ddb90a5a15c78d7328e1 (patch)
treef8d6c8f7ea464a9b36accc116529480cd47210c7 /net/lapb/lapb_subr.c
parente15e117bbbe18258a5ad506bbf6c58ff129c9576 (diff)
ext4: don't use CR_BEST_AVAIL_LEN for non-regular files
Using CR_BEST_AVAIL_LEN only make sense for regular files, as for non-regular files we never normalize the allocation request length i.e. goal len is same as original length (ac_g_ex.fe_len == ac_o_ex.fe_len). Hence there is no scope of trimming the goal length to make it satisfy original request len. Thus this patch avoids using CR_BEST_AVAIL_LEN criteria for non-regular files request. Cc: [email protected] Fixes: 33122aa930f1 ("ext4: Add allocation criteria 1.5 (CR1_5)") Reported-by: Eric Whitney <[email protected]> Signed-off-by: Ritesh Harjani (IBM) <[email protected]> Tested-by: Eric Whitney <[email protected]> Link: https://lore.kernel.org/r/2a694c748ff8b8c4b416995a24f06f07b55047a8.1689516047.git.ritesh.list@gmail.com Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions