Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1493429

Re: Race condition between iget_locked() and evict_inodes()

From Al Viro <viro@ZenIV.linux.org.uk>
Newsgroups linux.kernel
Subject Re: Race condition between iget_locked() and evict_inodes()
Date 2016-09-29 14:20 +0200
Message-ID <smItH-423-5@gated-at.bofh.it> (permalink)
References <smIal-3Db-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Sep 29, 2016 at 11:53:21AM +0000, Anton Altaparmakov wrote:
> Thus if the events happen in this order:
> 
> evict_inodes()				iget_locked() in find_inode_fast()

... you are buggered, because somebody is trying to grab a reference
to inode on a filesystem that is being shut down.  Look at evict_inode()
caller...

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Race condition between iget_locked() and evict_inodes() Anton Altaparmakov <anton@tuxera.com> - 2016-09-29 14:00 +0200
  Re: Race condition between iget_locked() and evict_inodes() Al Viro <viro@ZenIV.linux.org.uk> - 2016-09-29 14:20 +0200
    Re: Race condition between iget_locked() and evict_inodes() Anton Altaparmakov <anton@tuxera.com> - 2016-09-29 15:00 +0200
      Re: Race condition between iget_locked() and evict_inodes() Al Viro <viro@ZenIV.linux.org.uk> - 2016-09-29 15:40 +0200

csiph-web