Whamcloud - gitweb
LU-15551 ofd: Return EOPNOTSUPP instead of EPROTO 16/46516/5
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Mon, 14 Feb 2022 10:02:08 +0000 (15:32 +0530)
committerArshad Hussain <arshad.hussain@aeoncomputing.com>
Tue, 15 Feb 2022 11:21:40 +0000 (16:51 +0530)
commit5ad69eae24a4f1a6bc02a9fa9d66b0ed1a57fe84
treef2bc1fe4ba5295511036189dc262c5a2f3b9abb5
parent450d10c3625841f0f71b63cb02e6cca070e1b912
LU-15551 ofd: Return EOPNOTSUPP instead of EPROTO

Modify server to return -EOPNOTSUPP instead of
-EPROTO for unsupported fallocate modes

Test-Parameters: serverversion=2.14.0 testlist=sanity,sanityn,sanity-benchmark,sanity-flr,sanity-quota,sanity-dom,parallel-scale-cifs
Fixes: 48457868a02a ("LU-3606 fallocate: Implement fallocate preallocate operation")
Signed-off-by: arshad.hussain@aeoncomputing.com
Change-Id: Id203c0b9abbdd674af33f1f78e81ae7fe105e90f
lustre/ofd/ofd_dev.c
lustre/tests/sanity-flr.sh
lustre/tests/sanity.sh
lustre/tests/test-framework.sh