Re: SMB client testing wiki

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well ok, but my question is really about what to run and how to
be sure I'm not breaking anything. I want to test my SMB Direct
patch(es) so I'd focus on 3.1.1.

Or, can I say "it didn't oops, ship it"? :)

Tom.

On 8/26/2022 11:19 AM, Steve French wrote:
Nite that vers=3.0 can be much slower in some cases (like encryption) than default (or default for version 3 or higher ie vers=3 or vers=3.1.1)

On Fri, Aug 26, 2022, 09:55 Paulo Alcantara <pc@xxxxxx <mailto:pc@xxxxxx>> wrote:

    Tom Talpey <tom@xxxxxxxxxx <mailto:tom@xxxxxxxxxx>> writes:

     > Is there an updated list of tests expected to pass, and/or
     > any update for the scripting? Anything else I need to run in
     > a basic local environment, to test smb3.ko client to ksmbd.ko
     > and Samba servers on a pair of test machines?

    For the testing environment, I'd say there is nothing special.  Just
    create two shares in both samba and ksmbd servers and specify them in
    local.config when running xfstests.  We usually name them as 'test' and
    'scratch', respectively.

    For testing SMB3 over samba, you would have something like this in your
    local.config:

       [smb3samba]
       FSTYP=cifs
       TEST_DEV=//tom.samba/test
       TEST_DIR=/mnt/test
TEST_FS_MOUNT_OPTS='-ousername=tom,password=***,noperm,vers=3.0,mfsymlinks'
       export
    MOUNT_OPTIONS='-ousername=tom,password=***,noperm,vers=3.0,mfsymlinks'
       export SCRATCH_DEV=//tom.samba/scratch
       export SCRATCH_MNT=/mnt/scratch

    and then run xfstests

       ./check -s smb3samba ...




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux