> -----Original Message----- > From: Eric Biggers <ebiggers@xxxxxxxxxx> > Sent: Tuesday, April 19, 2022 11:19 AM > To: 常凤楠 <changfengnan@xxxxxxxx> > Cc: jaegeuk@xxxxxxxxxx; chao@xxxxxxxxxx; tytso@xxxxxxx; > adilger.kernel@xxxxxxxxx; axboe@xxxxxxxxx; linux-block@xxxxxxxxxxxxxxx; > linux-ext4@xxxxxxxxxxxxxxx; linux-f2fs-devel@xxxxxxxxxxxxxxxxxxxxx > Subject: Re: [PATCH 2/3] f2fs: notify when device not supprt inlinecrypt > > On Tue, Apr 19, 2022 at 03:14:51AM +0000, 常凤楠 wrote: > > > > Thanks for your explanation, this patchset has too many case to forget to > handle... > > Back to my first thought, maybe there should have one sysfs node to > > indicate the device support inlinecrypt or not ? So user can know it's > > device not support inlinecrypt and not for other reasons. > > > > Linux v5.18 has that. See https://git.kernel.org/linus/20f01f1632036660 > ("blk-crypto: show crypto capabilities in sysfs"). Oh, I see, thanks a lot. > > - Eric