Whamcloud - gitweb
LU-15827 osd: respect filldir buffer limits 24/47224/3
authorJohn L. Hammond <jhammond@whamcloud.com>
Thu, 5 May 2022 19:21:37 +0000 (14:21 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 9 May 2022 20:30:25 +0000 (20:30 +0000)
commit5879647624c834d4a579f425a0fc8d408235e275
treeb01817cf22852c4c8fbdcdc771af1b348a2e570d
parent0124776ff3be79b68ebac9bd4488094356a037eb
LU-15827 osd: respect filldir buffer limits

In osd_ldiskfs_filldir() ensure that the encoded name also fits in the
buffer. In osd_ldiskfs_filldir() and obj_name2lu_name() remove a
superfluous and potentially incorrect check on names that appear to be
FIDs.

Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: I1540f058801b002474ceac1206317344cebb1084
Reviewed-on: https://review.whamcloud.com/47224
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c