Re: [PATCH v2] erofs: fix unsafe pagevec reuse of hooked pclusters

2021-11-04 Thread Chao Yu
On 2021/11/4 2:20, Gao Xiang wrote: There are pclusters in runtime marked with Z_EROFS_PCLUSTER_TAIL before actual I/O submission. Thus, the decompression chain can be extended if the following pcluster chain hooks such tail pcluster. As the related comment mentioned, if some page is made of a

Re: futher decouple DAX from block devices

2021-11-04 Thread Matthew Wilcox
On Thu, Nov 04, 2021 at 11:09:19PM -0400, Theodore Ts'o wrote: > On Thu, Nov 04, 2021 at 12:04:43PM -0700, Darrick J. Wong wrote: > > > Note that I've avoided implementing read/write fops for dax devices > > > partly out of concern for not wanting to figure out shared-mmap vs > > > write coherence

Re: futher decouple DAX from block devices

2021-11-04 Thread Theodore Ts'o
On Thu, Nov 04, 2021 at 12:04:43PM -0700, Darrick J. Wong wrote: > > Note that I've avoided implementing read/write fops for dax devices > > partly out of concern for not wanting to figure out shared-mmap vs > > write coherence issues, but also because of a bet with Dave Hansen > > that device-dax

[xiang-erofs:fixes] BUILD SUCCESS 1eceffaec88b336f021010f0eeea1a3948afd73d

2021-11-04 Thread kernel test robot
allmodconfig i386 randconfig-c001-20211103 i386 randconfig-c001-20211105 i386 randconfig-c001-20211104 powerpc motionpro_defconfig ia64generic_defconfig powerpc tqm8560_defconfig mips

Re: futher decouple DAX from block devices

2021-11-04 Thread Darrick J. Wong
On Thu, Nov 04, 2021 at 11:10:19AM -0700, Dan Williams wrote: > On Thu, Nov 4, 2021 at 10:36 AM Christoph Hellwig wrote: > > > > On Thu, Nov 04, 2021 at 10:34:17AM -0700, Darrick J. Wong wrote: > > > /me wonders, are block devices going away? Will mkfs.xfs have to learn > > > how to talk to

Re: futher decouple DAX from block devices

2021-11-04 Thread Dan Williams
On Thu, Nov 4, 2021 at 10:36 AM Christoph Hellwig wrote: > > On Thu, Nov 04, 2021 at 10:34:17AM -0700, Darrick J. Wong wrote: > > /me wonders, are block devices going away? Will mkfs.xfs have to learn > > how to talk to certain chardevs? I guess jffs2 and others already do > > that kind of

Re: futher decouple DAX from block devices

2021-11-04 Thread Christoph Hellwig
On Thu, Nov 04, 2021 at 10:34:17AM -0700, Darrick J. Wong wrote: > /me wonders, are block devices going away? Will mkfs.xfs have to learn > how to talk to certain chardevs? I guess jffs2 and others already do > that kind of thing... but I suppose I can wait for the real draft to > show up to

Re: futher decouple DAX from block devices

2021-11-04 Thread Darrick J. Wong
On Thu, Nov 04, 2021 at 09:17:40AM +0100, Christoph Hellwig wrote: > On Wed, Nov 03, 2021 at 12:59:31PM -0500, Eric Sandeen wrote: > > Christoph, can I ask what the end game looks like, here? If dax is > > completely > > decoupled from block devices, are there user-visible changes? > > Yes. > >

Re: futher decouple DAX from block devices

2021-11-04 Thread Christoph Hellwig
On Wed, Nov 03, 2021 at 12:59:31PM -0500, Eric Sandeen wrote: > Christoph, can I ask what the end game looks like, here? If dax is completely > decoupled from block devices, are there user-visible changes? Yes. > If I want to > run fs-dax on a pmem device - what do I point mkfs at, if not a