File 0063-debugfs-O_DIRECT of Package lustre_2_12

Add -D option to debugfs

With -D O_DIRECT is used and we don't risk using stale data from the page cache.
---
 lustre/tests/test-framework.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/lustre/tests/test-framework.sh
+++ b/lustre/tests/test-framework.sh
@@ -189,9 +189,9 @@ init_test_env() {
 	export DEBUGFS=$DEBUGFS
 	if [ -z "$DEBUGFS" ]; then
 		if which debugfs.ldiskfs >/dev/null 2>&1; then
-			export DEBUGFS=debugfs.ldiskfs
+			export DEBUGFS="debugfs.ldiskfs -D"
 		else
-			export DEBUGFS=debugfs
+			export DEBUGFS="debugfs -D"
 		fi
 	fi
 
openSUSE Build Service is sponsored by