lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1339462.1642802244@warthog.procyon.org.uk>
Date:   Fri, 21 Jan 2022 21:57:24 +0000
From:   David Howells <dhowells@...hat.com>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     Shyam Prasad N <nspmangalore@...il.com>,
        Jeff Layton <jlayton@...nel.org>, linux-cifs@...r.kernel.org,
        Steve French <smfrench@...il.com>,
        Jeffle Xu <jefflexu@...ux.alibaba.com>, dhowells@...hat.com,
        Trond Myklebust <trondmy@...merspace.com>,
        Anna Schumaker <anna.schumaker@...app.com>,
        Dominique Martinet <asmadeus@...ewreck.org>,
        Matthew Wilcox <willy@...radead.org>,
        Alexander Viro <viro@...iv.linux.org.uk>,
        Omar Sandoval <osandov@...ndov.com>, linux-cachefs@...hat.com,
        linux-afs@...ts.infradead.org, linux-nfs@...r.kernel.org,
        ceph-devel@...r.kernel.org, v9fs-developer@...ts.sourceforge.net,
        linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [GIT PULL] fscache: Fixes and minor updates for rewrite

Hi Linus,

Could you pull this set of fixes and minor updates for the fscache
rewrite[1] please?

 (1) Fix mishandling of volume collisions (the wait condition is inverted
     and so it was only waiting if the volume collision was already
     resolved).

 (2) Fix miscalculation of whether there's space available in cachefiles.

 (3) Make sure a default cache name is set on a cache if the user hasn't
     set one by the time they bind the cache.

 (4) Adjust the way the backing inode is presented in tracepoints, add a
     tracepoint for mkdir and trace directory lookup.

 (5) Add a tracepoint for failure to set the active file mark.

 (6) Add an explanation of the checks made on the backing filesystem.

 (7) Check that the backing filesystem supports tmpfile.

 (8) Document how the page-release cancellation of the read-skip
     optimisation works.

And I've included a change for netfslib:

 (9) Make ops->init_rreq() optional.

Note that I dropped the patch that I had to add IS_KERNEL_FILE() as the
naming of S_KERNEL_FILE is undergoing late discussion[2] and I dropped the
patch to rewrite cifs's fscache indexing as SteveF has taken that into his
tree.

Thanks,
David


Link: https://lore.kernel.org/r/510611.1641942444@warthog.procyon.org.uk/ [1]
Link: https://lore.kernel.org/r/CAOQ4uxjEcvffv=rNXS-r+NLz+=6yk4abRuX_AMq9v-M4nf_PtA@mail.gmail.com/ [2]
Link: https://lore.kernel.org/r/164251396932.3435901.344517748027321142.stgit@warthog.procyon.org.uk/ # v1
---
The following changes since commit 455e73a07f6e288b0061dfcf4fcf54fa9fe06458:

  Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux (2022-01-12 17:02:27 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/fscache-fixes-20220121

for you to fetch changes up to cef0223191452b3c493a1070baad9ffe806babac:

  netfs: Make ops->init_rreq() optional (2022-01-21 21:36:28 +0000)

----------------------------------------------------------------
fscache fixes

----------------------------------------------------------------
David Howells (7):
      fscache: Fix the volume collision wait condition
      cachefiles: Calculate the blockshift in terms of bytes, not pages
      cachefiles: Make some tracepoint adjustments
      cachefiles: Trace active-mark failure
      cachefiles: Explain checks in a comment
      cachefiles: Check that the backing filesystem supports tmpfiles
      fscache: Add a comment explaining how page-release optimisation works

Jeffle Xu (2):
      cachefiles: set default tag name if it's unspecified
      netfs: Make ops->init_rreq() optional

 fs/cachefiles/cache.c             |  17 ++++---
 fs/cachefiles/daemon.c            |  11 ++++
 fs/cachefiles/internal.h          |   2 +-
 fs/cachefiles/io.c                |   2 +-
 fs/cachefiles/namei.c             |  12 +++--
 fs/ceph/addr.c                    |   5 --
 fs/fscache/volume.c               |   4 +-
 fs/netfs/read_helper.c            |   3 +-
 include/linux/fscache.h           |   5 ++
 include/trace/events/cachefiles.h | 103 ++++++++++++++++++++++++++------------
 10 files changed, 113 insertions(+), 51 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ