Whamcloud - gitweb
EX-8996 ofd: handle 'missing object' reads
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 24 Jan 2024 16:02:32 +0000 (11:02 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 2 Feb 2024 16:08:40 +0000 (16:08 +0000)
commit8ed71bef3de010210ccada3127c701dc3cb70dac
tree0d5c5992c4f0b0f2e506396d4e3e00a979acdc04
parentbf29ca2c685e8d67ebee9c679beef2553cc69a04
EX-8996 ofd: handle 'missing object' reads

When the read code (eg, mdt_preprw_read) finds there is no
object, it will return a read with 0 pages, but not fail the
read.  The assert for local and remote pages needs to
recognize this case.

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Idc6ff70f71abc100f750a63eca73a754a56f6435
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53807
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Mikhail Pershin <mpershin@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/target/tgt_handler.c