2017-08-02 08:49:02

by Dai Xiang

[permalink] [raw]
Subject: How to install set_encpolicy for xfs_io

Hi!

When i do test with xfstests using ext4 fs, a issue occur and do not
find how to fix:

FSTYP -- ext4
PLATFORM -- Linux/x86_64 local 4.13.0-rc3
MKFS_OPTIONS -- /dev/sda8
MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch

ext4/024 [not run] xfs_io set_encpolicy support is missing
<===
Not run: ext4/024
Passed all 0 tests

I use v4.7 xfsprogs and xfstests commit is a00c51a0.

How can i install set_encpolicy?

Thanks
Xiang


2017-08-02 11:26:02

by Carlos Maiolino

[permalink] [raw]
Subject: Re: How to install set_encpolicy for xfs_io

Hi,

> Hi!
>
> When i do test with xfstests using ext4 fs, a issue occur and do not
> find how to fix:
>
> FSTYP -- ext4
> PLATFORM -- Linux/x86_64 local 4.13.0-rc3
> MKFS_OPTIONS -- /dev/sda8
> MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch
>
> ext4/024 [not run] xfs_io set_encpolicy support is missing
> <===
> Not run: ext4/024
> Passed all 0 tests
>

set_encpolicy was added to xfsprogs 4.10, I don't know if your distro ships it
already, if not, you'll need to compile it by yourself from:

git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git

cheers.

> I use v4.7 xfsprogs and xfstests commit is a00c51a0.
>
> How can i install set_encpolicy?
>
> Thanks
> Xiang

--
Carlos

2017-08-03 01:34:34

by Dai Xiang

[permalink] [raw]
Subject: Re: How to install set_encpolicy for xfs_io

On Wed, Aug 02, 2017 at 01:25:58PM +0200, Carlos Maiolino wrote:
> Hi,
>
> > Hi!
> >
> > When i do test with xfstests using ext4 fs, a issue occur and do not
> > find how to fix:
> >
> > FSTYP -- ext4
> > PLATFORM -- Linux/x86_64 local 4.13.0-rc3
> > MKFS_OPTIONS -- /dev/sda8
> > MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch
> >
> > ext4/024 [not run] xfs_io set_encpolicy support is missing
> > <===
> > Not run: ext4/024
> > Passed all 0 tests
> >
>
> set_encpolicy was added to xfsprogs 4.10, I don't know if your distro ships it
> already, if not, you'll need to compile it by yourself from:
>
> git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git

I always use below link to download the xfsprogs:
git://oss.sgi.com/xfs/cmds/xfsprogs

What the difference between them? Does it mean above link has
abandoned?

Thanks

>
> cheers.
>
> > I use v4.7 xfsprogs and xfstests commit is a00c51a0.
> >
> > How can i install set_encpolicy?
> >
> > Thanks
> > Xiang
>
> --
> Carlos

2017-08-03 06:27:39

by Nikolay Borisov

[permalink] [raw]
Subject: Re: How to install set_encpolicy for xfs_io



On 3.08.2017 04:34, Dai Xiang wrote:
> On Wed, Aug 02, 2017 at 01:25:58PM +0200, Carlos Maiolino wrote:
>> Hi,
>>
>>> Hi!
>>>
>>> When i do test with xfstests using ext4 fs, a issue occur and do not
>>> find how to fix:
>>>
>>> FSTYP -- ext4
>>> PLATFORM -- Linux/x86_64 local 4.13.0-rc3
>>> MKFS_OPTIONS -- /dev/sda8
>>> MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch
>>>
>>> ext4/024 [not run] xfs_io set_encpolicy support is missing
>>> <===
>>> Not run: ext4/024
>>> Passed all 0 tests
>>>
>>
>> set_encpolicy was added to xfsprogs 4.10, I don't know if your distro ships it
>> already, if not, you'll need to compile it by yourself from:
>>
>> git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
>
> I always use below link to download the xfsprogs:
> git://oss.sgi.com/xfs/cmds/xfsprogs
>
> What the difference between them? Does it mean above link has
> abandoned?

SGI have essentially abandoned all xfs-related infrastructure hosting.
As a result the mailing list got moved to kernel.org infrastructure and
the development branches as well. I'd suggest to always use the xfs
repos hosted on git.kernel.org

>
> Thanks
>
>>
>> cheers.
>>
>>> I use v4.7 xfsprogs and xfstests commit is a00c51a0.
>>>
>>> How can i install set_encpolicy?
>>>
>>> Thanks
>>> Xiang
>>
>> --
>> Carlos

2017-08-04 01:49:29

by Dai Xiang

[permalink] [raw]
Subject: Re: How to install set_encpolicy for xfs_io

On Thu, Aug 03, 2017 at 09:27:34AM +0300, Nikolay Borisov wrote:
>
>
> On 3.08.2017 04:34, Dai Xiang wrote:
> > On Wed, Aug 02, 2017 at 01:25:58PM +0200, Carlos Maiolino wrote:
> >> Hi,
> >>
> >>> Hi!
> >>>
> >>> When i do test with xfstests using ext4 fs, a issue occur and do not
> >>> find how to fix:
> >>>
> >>> FSTYP -- ext4
> >>> PLATFORM -- Linux/x86_64 local 4.13.0-rc3
> >>> MKFS_OPTIONS -- /dev/sda8
> >>> MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch
> >>>
> >>> ext4/024 [not run] xfs_io set_encpolicy support is missing
> >>> <===
> >>> Not run: ext4/024
> >>> Passed all 0 tests
> >>>
> >>
> >> set_encpolicy was added to xfsprogs 4.10, I don't know if your distro ships it
> >> already, if not, you'll need to compile it by yourself from:
> >>
> >> git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
> >
> > I always use below link to download the xfsprogs:
> > git://oss.sgi.com/xfs/cmds/xfsprogs
> >
> > What the difference between them? Does it mean above link has
> > abandoned?
>
> SGI have essentially abandoned all xfs-related infrastructure hosting.
> As a result the mailing list got moved to kernel.org infrastructure and
> the development branches as well. I'd suggest to always use the xfs
> repos hosted on git.kernel.org

I want to install xfsprogs to a specified path but i do not find
configure but configure.ac, how can i use it?

Thanks
>
> >
> > Thanks
> >
> >>
> >> cheers.
> >>
> >>> I use v4.7 xfsprogs and xfstests commit is a00c51a0.
> >>>
> >>> How can i install set_encpolicy?
> >>>
> >>> Thanks
> >>> Xiang
> >>
> >> --
> >> Carlos

2017-08-04 01:55:32

by Eric Sandeen

[permalink] [raw]
Subject: Re: How to install set_encpolicy for xfs_io

On 8/3/17 8:49 PM, Dai Xiang wrote:
> On Thu, Aug 03, 2017 at 09:27:34AM +0300, Nikolay Borisov wrote:


>>> What the difference between them? Does it mean above link has
>>> abandoned?

(it has)

>> SGI have essentially abandoned all xfs-related infrastructure hosting.
>> As a result the mailing list got moved to kernel.org infrastructure and
>> the development branches as well. I'd suggest to always use the xfs
>> repos hosted on git.kernel.org
>
> I want to install xfsprogs to a specified path but i do not find
> configure but configure.ac, how can i use it?

# make configure
# ./configure <options>

-Eric

2017-08-04 08:17:23

by Dai Xiang

[permalink] [raw]
Subject: Re: How to install set_encpolicy for xfs_io

On Thu, Aug 03, 2017 at 09:27:34AM +0300, Nikolay Borisov wrote:
>
>
> On 3.08.2017 04:34, Dai Xiang wrote:
> > On Wed, Aug 02, 2017 at 01:25:58PM +0200, Carlos Maiolino wrote:
> >> Hi,
> >>
> >>> Hi!
> >>>
> >>> When i do test with xfstests using ext4 fs, a issue occur and do not
> >>> find how to fix:
> >>>
> >>> FSTYP -- ext4
> >>> PLATFORM -- Linux/x86_64 local 4.13.0-rc3
> >>> MKFS_OPTIONS -- /dev/sda8
> >>> MOUNT_OPTIONS -- -o acl,user_xattr /dev/sda8 /fs/scratch
> >>>
> >>> ext4/024 [not run] xfs_io set_encpolicy support is missing
> >>> <===
> >>> Not run: ext4/024
> >>> Passed all 0 tests
> >>>
> >>
> >> set_encpolicy was added to xfsprogs 4.10, I don't know if your distro ships it
> >> already, if not, you'll need to compile it by yourself from:
> >>
> >> git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
> >
> > I always use below link to download the xfsprogs:
> > git://oss.sgi.com/xfs/cmds/xfsprogs
> >
> > What the difference between them? Does it mean above link has
> > abandoned?
>
> SGI have essentially abandoned all xfs-related infrastructure hosting.
> As a result the mailing list got moved to kernel.org infrastructure and
> the development branches as well. I'd suggest to always use the xfs
> repos hosted on git.kernel.org

Hi, i do install as below and cp /xfsprogs to other host, i still can
not get set_encpolicy:

make configure || return
./configure --prefix=/xfsprogs/usr --exec_prefix=/xfsprogs/usr
make || return
make install
make install-dev

I git clone newest codes and HEAD is:
commit 0602fbe880e59c3aff13a081632b79532a40a328 (HEAD -> master, tag: v4.12.0, origin/master, origin/HEAD)
Author: Eric Sandeen <[email protected]>
Date: Thu Jul 20 10:57:14 2017 -0500

xfsprogs: Release v4.12.0

Update all the necessary files for a 4.12.0 release.

Signed-off-by: Eric Sandeen <[email protected]>

Do i miss something important?

Thanks
Xiang

>
> >
> > Thanks
> >
> >>
> >> cheers.
> >>
> >>> I use v4.7 xfsprogs and xfstests commit is a00c51a0.
> >>>
> >>> How can i install set_encpolicy?
> >>>
> >>> Thanks
> >>> Xiang
> >>
> >> --
> >> Carlos

2017-08-04 08:49:53

by Carlos Eduardo Maiolino

[permalink] [raw]
Subject: Re: How to install set_encpolicy for xfs_io

Hi,

> > SGI have essentially abandoned all xfs-related infrastructure hosting.
> > As a result the mailing list got moved to kernel.org infrastructure and
> > the development branches as well. I'd suggest to always use the xfs
> > repos hosted on git.kernel.org
>
> Hi, i do install as below and cp /xfsprogs to other host, i still can
> not get set_encpolicy:
>
> make configure || return
> ./configure --prefix=/xfsprogs/usr --exec_prefix=/xfsprogs/usr
> make || return
> make install
> make install-dev
>
> I git clone newest codes and HEAD is:
> commit 0602fbe880e59c3aff13a081632b79532a40a328 (HEAD -> master, tag:
> v4.12.0, origin/master, origin/HEAD)
> Author: Eric Sandeen <[email protected]>
> Date: Thu Jul 20 10:57:14 2017 -0500
>
> xfsprogs: Release v4.12.0
>
> Update all the necessary files for a 4.12.0 release.
>
> Signed-off-by: Eric Sandeen <[email protected]>
>
> Do i miss something important?
>
> Thanks
> Xiang
>

No, 4.12 already has it, you are doing something else, can you run 'xfs_io -V'
and confirm you are using a xfsprogs >= 4.10?

you didn't install int in the usual prefix, so, it is likely you don't have it in your $PATH
and you are triggering an old xfsprogs version.

--
--Carlos