Skip to content

Commit

Permalink
Merge pull request #85 from snuf/5.12-backfix
Browse files Browse the repository at this point in the history
consistent with vsl4
  • Loading branch information
snuf authored May 1, 2021
2 parents a81d9b8 + 1bf7ac0 commit 8bcdf73
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions root/usr/src/iomemory-vsl-3.2.16/kfio_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ KFIOC_X_PROC_CREATE_DATA_WANTS_PROC_OPS
KFIOC_X_TASK_HAS_CPUS_MASK
KFIOC_X_LINUX_HAS_PART_STAT_H
KFIOC_X_BLK_ALLOC_QUEUE_NODE_EXISTS
KFIOC_X_BIO_HAS_BI_BDEV
KFIOC_X_HAS_MAKE_REQUEST_FN
KFIOC_X_GENHD_PART0_IS_A_POINTER
KFIOC_X_BIO_HAS_BI_BDEV
"


Expand All @@ -99,7 +99,11 @@ done
# Actual test procedures for determining Kernel capabilities
#
##

## Newly added tests HAVE to contain the kernel version it appeared in and an
## LWN reference where the change in the kernel is and some form of reference
## to documentation describing the change in the kernel.
##
####
# flag: KFIOC_X_BIO_HAS_BI_BDEV
# usage: 1 bio->bi_bdev exists
# 0 it doesn't and we assume bio->bi_disk is a thing
Expand All @@ -120,11 +124,7 @@ void kfioc_bio_has_bi_bdev(void)
'
kfioc_test "$test_code" "$test_flag" 1 -Werror
}
## Newly added tests HAVE to contain the kernel version it appeared in and an
## LWN reference where the change in the kernel is and some form of reference
## to documentation describing the change in the kernel.
##
####

# flag: KFIOC_X_GENHD_PART0_IS_A_POINTER
# usage: 1 genhd disk part is a pointer
# 0 genhd disk part is not a pointer
Expand Down Expand Up @@ -264,7 +264,7 @@ update_timeout()
open_log()
{
FIFO_DIR=$CONFIGDIR
FIFO_DIR=/tmp
# FIFO_DIR=/tmp
# The tee processes will die when this process exits.
rm -f "$FIFO_DIR/kfio_config.stdout" "$FIFO_DIR/kfio_config.stderr" "$FIFO_DIR/kfio_config.log"
exec 3>&1 4>&2
Expand Down

0 comments on commit 8bcdf73

Please sign in to comment.