Skip to content
Snippets Groups Projects
Select Git revision
  • 4373ea84c84d8a96e99d3da99e813d3e36d1bd11
  • linux-5.15.29-guf default protected
  • integrate/gitlab-ci/optional-sleep/into/linux-5.15.29-guf
  • linux-5.15.185-seco protected
  • linux-5.15.182-seco protected
  • integrate/gitlab-ci/CI-report-image-diff-rewrite/into/linux-5.15.29-guf
  • integrate/gitlab-ci/extend-image-diff-job-to-manifest-mrs/into/linux-5.15.29-guf
  • integrate/gitlab-ci/kirkstone-spdx/into/linux-5.15.29-guf
  • integrate/gitlab-ci/test-gitbot-service-account/into/linux-5.15.29-guf
  • integrate/gitlab-ci/cleaos-552-build-cleaos-on-hamburgs-ci-servers-test/into/linux-5.15.29-guf
  • integrate/gitlab-ci/changelog-generator-all-projects/into/linux-5.15.29-guf
  • linux-5.15.29-guf-nallino-disable-cpuidle
  • linux-5.15.29-guf-sel6-8-and-lcd-ena
  • linux-5.10.104-guf protected
  • linux-5.15.29-guf-fix-rs485-for-mx6ull
  • linux-5.15.142-guf
  • santino_derive_dsp_clk_from_pll2
  • linux-5.15.29-guf-hwmon-lm85
  • add_bootlogo_5.15.29-guf
  • temp_emv_nallino
  • nalino_add_audio
  • v5.15.29 protected
  • v5.10.106 protected
  • v5.4.185 protected
  • v5.15.28 protected
  • v5.10.105 protected
  • v5.4.184 protected
  • v5.15.27 protected
  • v5.10.104 protected
  • v5.4.183 protected
  • v5.15.26 protected
  • v5.10.103 protected
  • v5.4.182 protected
  • v5.15.25 protected
  • v5.10.102 protected
  • v5.4.181 protected
  • v5.15.24 protected
  • v5.10.101 protected
  • v5.4.180 protected
  • v5.15.23 protected
  • v5.10.100 protected
41 results

include

  • Open with
  • Download source code
  • Download directory
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • user avatar
    Wendy Cheng authored and J. Bruce Fields committed
    For high-availability NFS service, we generally need to be able to drop
    file locks held on the exported filesystem before moving clients to a
    new server.  Currently the only way to do that is by shutting down lockd
    entirely, which is often undesireable (for example, if you want to
    continue exporting other filesystems).
    
    This patch allows the administrator to release all locks held by clients
    accessing the client through a given server ip address, by echoing that
    address to a new file, /proc/fs/nfsd/unlock_ip, as in:
    
    shell> echo 10.1.1.2 > /proc/fs/nfsd/unlock_ip
    
    The expected sequence of events can be:
    1. Tear down the IP address
    2. Unexport the path
    3. Write IP to /proc/fs/nfsd/unlock_ip to unlock files
    4. Signal peer to begin take-over.
    
    For now we only support IPv4 addresses and NFSv2/v3 (NFSv4 locks are not
    affected).
    
    Also, if unmounting the filesystem is required, we assume at step 3 that
    clients using the given server ip are the only clients holding locks on
    the given filesystem; otherwise, an additional patch is required to
    allow revoking all locks held by lockd on a given filesystem.
    
    Signed-off-by: default avatarS. Wendy Cheng <wcheng@redhat.com>
    Cc: Lon Hohberger  <lhh@redhat.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
    
     fs/lockd/svcsubs.c          |   66 +++++++++++++++++++++++++++++++++++++++-----
     fs/nfsd/nfsctl.c            |   65 +++++++++++++++++++++++++++++++++++++++++++
     include/linux/lockd/lockd.h |    7 ++++
     3 files changed, 131 insertions(+), 7 deletions(-)
    4373ea84
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Name Last commit Last update
    ..