Whamcloud - gitweb
LU-11848 filefrag: further PFL and FLR fixes 32/40932/3
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 10 Dec 2020 11:04:56 +0000 (04:04 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 10 Dec 2020 13:02:57 +0000 (13:02 +0000)
commit3bdf8ca2e409773892002327b188a32c3f302601
treef21d89f56be23ab892a76e7e8b22b620ae5885fb
parentd99d208e73cd5b9c3edbc8fea3bb66875b706df7
LU-11848 filefrag: further PFL and FLR fixes

Revert some of the changes from the earlier patches to bring the
filefrag functionality closer to the original behavior.

The kernel is instead changed to return the device number with
every extent.  This allows the previous filefrag to work for PFL
and FLR files without any changes by just copying the fe_device
from the last returned extent to the next call.  The only gap in
old filefrag is that it prints the stripe number with OST index.

Fixes: d99d208e73cd ("LU-11848 filefrag: rework port PFL and FLR file")
Fixes: 0b6718f5e22d ("filefrag: support PFL and FLR file")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ie6a8d93ebceb1e70894b21f0dadc9655083ebbe5
Reviewed-on: https://review.whamcloud.com/40932
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
misc/filefrag.c