[LU-1873] Test Framework allows osd-zfs to be used without OFD Created: 10/Sep/12  Updated: 10/Oct/12  Resolved: 10/Oct/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.3.0, Lustre 2.4.0
Fix Version/s: Lustre 2.4.0

Type: Bug Priority: Major
Reporter: Ian Colle (Inactive) Assignee: Minh Diep
Resolution: Fixed Votes: 0
Labels: zfs

Severity: 3
Rank (Obsolete): 4396

 Description   

In test-framework.sh there is a check for ZFS filesystems in use, but this doesn't force USE_OFD to be set and load ofd instead of obdfilter.

 
load_modules_local() { 

              if [[ $(node_fstypes $HOSTNAME) == *zfs* ]]; then 
                        load_module osd-zfs/osd_zfs 
                fi 
                if [ "$USE_OFD" == yes ]; then 
                        load_module ofd/ofd 
                else 
                        load_module obdfilter/obdfilter 
                fi 
} 

If osd-zfs is being tested, it should also set USE_OFD=yes. osd-zfs cannot run with obdfilter.



 Comments   
Comment by Andreas Dilger [ 10/Sep/12 ]

This should still be landed to b2_3 if possible, since it will still be needed for 2.3/2.4 interop testing with ZFS servers, since the client config currently drives the server setup/cleanup.

Comment by Minh Diep [ 11/Sep/12 ]

http://review.whamcloud.com/#change,3930

Comment by Minh Diep [ 10/Oct/12 ]

landed in master

Generated at Sat Feb 10 01:20:26 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.