public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Dai Xiang <xiangx.dai@intel.com>
To: linux-ext4@vger.kernel.org
Cc: Xiang Dai <xiangx.dai@intel.com>
Subject: Re: How to enable CONFIG_EXT4_ENCRYPTION
Date: Mon, 7 Aug 2017 17:51:26 +0800	[thread overview]
Message-ID: <20170807095126.hyhrrnr4vrj3ne4k@linux> (raw)
In-Reply-To: <20170807032502.2tiyjybtqrn6odab@linux>

On Mon, Aug 07, 2017 at 11:25:02AM +0800, Dai Xiang wrote:
> Hi!
> 
> I use xfstests with ext4 fs to test, and i found a skip:
> 
> ext4/024         [not run] kernel does not support ext4 encryption

i print the cmd:
/usr/sbin/xfs_io -i -c set_encpolicy /fs/scratch/tmpdir
/fs/scratch/tmpdir: failed to set encryption policy: Inappropriate
ioctl for device <===

Seems do not related to kconfig?

/dev/vdd on /fs/scratch type ext4 (rw,relatime,data=ordered)
df -T /dev/vdd
Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/vdd       ext4  251G   86G  154G  36% /fs/scratch
> 
> I have rebuild config with CONFIG_FS_ENCRYPTION and CONFIG_EXT4_ENCRYPTION.
> I try to set them both y and both m, but two ways both do not set and do not find related failure log.
> I use v4.13-rc3 kernel to build.
> 
> Do i miss some dependence kconfig?
> 
> Thanks
> Xiang

  reply	other threads:[~2017-08-07  9:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-07  3:25 How to enable CONFIG_EXT4_ENCRYPTION Dai Xiang
2017-08-07  9:51 ` Dai Xiang [this message]
2017-08-07 13:49   ` Theodore Ts'o
2017-08-07 19:31     ` Eric Biggers
2017-08-08  1:27       ` Dai Xiang
2017-08-08  5:50         ` Eric Biggers
2017-08-08  6:03           ` Dai Xiang
2017-08-08 13:19             ` Theodore Ts'o
2017-08-08  3:22     ` Dai Xiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170807095126.hyhrrnr4vrj3ne4k@linux \
    --to=xiangx.dai@intel.com \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox