LU-10565 osd: use readdir while iterate is kabi_extend
Sometime iterate interface is not initialized in ldiskfs.
So we use readdir in such case.
Lustre-change: https://review.whamcloud.com/31018
Lustre-commit:
7db38378aa07f7ce5fb79bc379271fd4218d95bd
Signed-off-by: Yang Sheng <yang.sheng@intel.com>
Change-Id: I43260a6d27003895b0ddd1bdf7b0539cc2ad64c5
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/31199
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>