RE: [RFC v2] nvfs: a filesystem for persistent memory

2021-01-11 Thread David Laight
From: Al Viro On Behalf Of Al Viro > Sent: 11 January 2021 14:44 > On Mon, Jan 11, 2021 at 11:57:08AM +, David Laight wrote: > > > > > size = copy_to_iter(to, ptr, size); > > > > > if (unlikely(!size)) { > > > > > r = -EFAULT; > > > > >

Re: [RFC v2] nvfs: a filesystem for persistent memory

2021-01-11 Thread Al Viro
On Mon, Jan 11, 2021 at 11:57:08AM +, David Laight wrote: > > > > size = copy_to_iter(to, ptr, size); > > > > if (unlikely(!size)) { > > > > r = -EFAULT; > > > > goto ret_r; > > > > } > > > > > > > >

RE: [RFC v2] nvfs: a filesystem for persistent memory

2021-01-11 Thread David Laight
From: Mikulas Patocka > Sent: 11 January 2021 11:44 > On Mon, 11 Jan 2021, David Laight wrote: > > > From: Al Viro On Behalf Of Al Viro > > > Sent: 10 January 2021 16:20 ... ... > > > while (iov_iter_count(to)) { ... > > > size = copy_to_iter(to, ptr, size); > > > if (unlike

RE: [RFC v2] nvfs: a filesystem for persistent memory

2021-01-11 Thread Mikulas Patocka
On Mon, 11 Jan 2021, David Laight wrote: > From: Al Viro On Behalf Of Al Viro > > Sent: 10 January 2021 16:20 > > > > On Thu, Jan 07, 2021 at 08:15:41AM -0500, Mikulas Patocka wrote: > > > Hi > > > > > > I announce a new version of NVFS - a filesystem for persistent memory. > > > http://peo

Re: [RFC v2] nvfs: a filesystem for persistent memory

2021-01-11 Thread Mikulas Patocka
On Sun, 10 Jan 2021, Al Viro wrote: > On Sun, Jan 10, 2021 at 04:14:55PM -0500, Mikulas Patocka wrote: > > > That's a good point. I split nvfs_rw_iter to separate functions > > nvfs_read_iter and nvfs_write_iter - and inlined nvfs_rw_iter_locked into > > both of them. It improved performance

RE: [RFC v2] nvfs: a filesystem for persistent memory

2021-01-11 Thread David Laight
From: Al Viro On Behalf Of Al Viro > Sent: 10 January 2021 16:20 > > On Thu, Jan 07, 2021 at 08:15:41AM -0500, Mikulas Patocka wrote: > > Hi > > > > I announce a new version of NVFS - a filesystem for persistent memory. > > http://people.redhat.com/~mpatocka/nvfs/ > Utilities, AFAICS > > >

Re: [RFC v2] nvfs: a filesystem for persistent memory

2021-01-10 Thread Al Viro
On Sun, Jan 10, 2021 at 04:14:55PM -0500, Mikulas Patocka wrote: > That's a good point. I split nvfs_rw_iter to separate functions > nvfs_read_iter and nvfs_write_iter - and inlined nvfs_rw_iter_locked into > both of them. It improved performance by 1.3%. > > > Not that it had been more useful

Re: [RFC v2] nvfs: a filesystem for persistent memory

2021-01-10 Thread Mikulas Patocka
On Sun, 10 Jan 2021, Al Viro wrote: > On Thu, Jan 07, 2021 at 08:15:41AM -0500, Mikulas Patocka wrote: > > Hi > > > > I announce a new version of NVFS - a filesystem for persistent memory. > > http://people.redhat.com/~mpatocka/nvfs/ > Utilities, AFAICS > > > git://leontynka.twibright

Re: [RFC v2] nvfs: a filesystem for persistent memory

2021-01-10 Thread Al Viro
On Sun, Jan 10, 2021 at 04:20:08PM +, Al Viro wrote: > On Thu, Jan 07, 2021 at 08:15:41AM -0500, Mikulas Patocka wrote: > > Hi > > > > I announce a new version of NVFS - a filesystem for persistent memory. > > http://people.redhat.com/~mpatocka/nvfs/ > Utilities, AFAICS > > > git://le

Re: [RFC v2] nvfs: a filesystem for persistent memory

2021-01-10 Thread Al Viro
On Thu, Jan 07, 2021 at 08:15:41AM -0500, Mikulas Patocka wrote: > Hi > > I announce a new version of NVFS - a filesystem for persistent memory. > http://people.redhat.com/~mpatocka/nvfs/ Utilities, AFAICS > git://leontynka.twibright.com/nvfs.git Seems to hang on git pull at the momen