login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
October
»
21
Re: [PATCH 08/21] fs: rework icount to be a locked variable
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Al Viro
Subject:
Re: [PATCH 08/21] fs: rework icount to be a locked variable
Date: Thursday, October 21, 2010 - 12:40 pm
On Thu, Oct 21, 2010 at 11:49:33AM +1100, Dave Chinner wrote:
quoted text
> From: Dave Chinner <dchinner@redhat.com> > > The inode reference count is currently an atomic variable so that it > can be sampled/modified outside the inode_lock. However, the > inode_lock is still needed to synchronise the final reference count > and checks against the inode state. > > To avoid needing the protection of the inode lock, protect the inode > reference count with the per-inode i_lock and convert it to a normal > variable. To avoid existing out-of-tree code accidentally compiling > against the new method, rename the i_count field to i_ref. This is > relatively straight forward as there are limited external references > to the i_count field remaining.
BTW, the same thing as with Nick's set - separate patch for "clone the reference to inode we are already holding" helper, in front of queue. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Inode Lock Scalability V6
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 03/21] fs: Convert nr_inodes and nr_unused to per-c ...
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 04/21] fs: Implement lazy LRU updates for inodes
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 05/21] fs: inode split IO and LRU lists
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 06/21] fs: Clean up inode reference counting
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 07/21] exofs: use iput() for inode reference count ...
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 08/21] fs: rework icount to be a locked variable
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 10/21] fs: Stop abusing find_inode_fast in iunique
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 11/21] fs: move i_ref increments into find_inode/fi ...
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 12/21] fs: remove inode_add_to_list/__inode_add_to_list
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 13/21] fs: Introduce per-bucket inode hash locks
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 14/21] fs: add a per-superblock lock for the inode list
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 15/21] fs: split locking of inode writeback and LRU ...
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 16/21] fs: Protect inode->i_state with the inode->i ...
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 17/21] fs: protect wake_up_inode with inode->i_lock
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 18/21] fs: introduce a per-cpu last_ino allocator
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 19/21] fs: icache remove inode_lock
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 20/21] fs: Reduce inode I_FREEING and factor inode ...
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
[PATCH 21/21] fs: do not assign default i_ino in new_inode
, Dave Chinner
, (Wed Oct 20, 5:49 pm)
Re: [PATCH 06/21] fs: Clean up inode reference counting
, Christoph Hellwig
, (Wed Oct 20, 6:41 pm)
Re: [PATCH 17/21] fs: protect wake_up_inode with inode->i_lock
, Christoph Hellwig
, (Wed Oct 20, 7:17 pm)
Re: Inode Lock Scalability V7 (was V6)
, Dave Chinner
, (Wed Oct 20, 10:04 pm)
Re: [PATCH 04/21] fs: Implement lazy LRU updates for inodes
, Nick Piggin
, (Thu Oct 21, 3:07 am)
Re: [PATCH 04/21] fs: Implement lazy LRU updates for inodes
, Christoph Hellwig
, (Thu Oct 21, 5:22 am)
Re: [PATCH 17/21] fs: protect wake_up_inode with inode->i_lock
, Nick Piggin
, (Thu Oct 21, 6:16 am)
Re: Inode Lock Scalability V7 (was V6)
, Nick Piggin
, (Thu Oct 21, 6:20 am)
Re: [PATCH 08/21] fs: rework icount to be a locked variable
, Al Viro
, (Thu Oct 21, 12:40 pm)
Re: [PATCH 08/21] fs: rework icount to be a locked variable
, Dave Chinner
, (Thu Oct 21, 3:32 pm)
Re: Inode Lock Scalability V7 (was V6)
, Dave Chinner
, (Thu Oct 21, 4:52 pm)
Re: Inode Lock Scalability V7 (was V6)
, Nick Piggin
, (Thu Oct 21, 5:45 pm)
Re: [PATCH 16/21] fs: Protect inode->i_state with the inod ...
, Al Viro
, (Thu Oct 21, 6:56 pm)
Re: Inode Lock Scalability V7 (was V6)
, Al Viro
, (Thu Oct 21, 7:20 pm)
Re: [PATCH 16/21] fs: Protect inode->i_state with the inod ...
, Nick Piggin
, (Thu Oct 21, 7:26 pm)
Re: Inode Lock Scalability V7 (was V6)
, Nick Piggin
, (Thu Oct 21, 7:41 pm)
Re: Inode Lock Scalability V7 (was V6)
, Nick Piggin
, (Thu Oct 21, 7:48 pm)
Re: Inode Lock Scalability V7 (was V6)
, Al Viro
, (Thu Oct 21, 8:07 pm)
Re: Inode Lock Scalability V7 (was V6)
, Al Viro
, (Thu Oct 21, 8:12 pm)
Re: [PATCH 16/21] fs: Protect inode->i_state with the inod ...
, Dave Chinner
, (Thu Oct 21, 8:14 pm)
Re: Inode Lock Scalability V7 (was V6)
, Nick Piggin
, (Thu Oct 21, 9:46 pm)
Re: Inode Lock Scalability V7 (was V6)
, Nick Piggin
, (Thu Oct 21, 9:48 pm)
Re: Inode Lock Scalability V7 (was V6)
, Nick Piggin
, (Thu Oct 21, 10:01 pm)
Re: [PATCH 16/21] fs: Protect inode->i_state with the inod ...
, Al Viro
, (Fri Oct 22, 3:37 am)
Re: [PATCH 16/21] fs: Protect inode->i_state with the inod ...
, Christoph Hellwig
, (Fri Oct 22, 4:40 am)
Re: [PATCH 16/21] fs: Protect inode->i_state with the inod ...
, Al Viro
, (Sat Oct 23, 2:37 pm)
Re: [PATCH 16/21] fs: Protect inode->i_state with the inod ...
, Nick Piggin
, (Sat Oct 23, 7:18 pm)
Re: [PATCH 16/21] fs: Protect inode->i_state with the inod ...
, Christoph Hellwig
, (Sun Oct 24, 7:13 am)
Re: [PATCH 16/21] fs: Protect inode->i_state with the inod ...
, Christoph Hellwig
, (Sun Oct 24, 9:21 am)
Re: [PATCH 16/21] fs: Protect inode->i_state with the inod ...
, Al Viro
, (Sun Oct 24, 12:17 pm)
Re: [PATCH 16/21] fs: Protect inode->i_state with the inod ...
, Christoph Hellwig
, (Sun Oct 24, 1:04 pm)
Re: [PATCH 16/21] fs: Protect inode->i_state with the inod ...
, Al Viro
, (Sun Oct 24, 1:36 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Frederic Weisbecker
[PATCH v2] struct sort_entry has a callback named snprintf that turns an entry int...
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Jens Axboe
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bo...
Andrew Morton
Re: [PATCH v3 0/4] Introduce hardware spinlock framework
Ingo Molnar
Re: [GIT PULL] time.c - respin
git
:
Junio C Hamano
Re: git-svnimport
Michal Sojka
[PATCHv5 1/2] filter-branch: Fix to allow replacing submodules with another content
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
Junio C Hamano
Re: Fwd: git status options feature suggestion
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
git-commits-head
:
Linux Kernel Mailing List
ARM: S3C64XX: DMA: Callback with correct buffer pointer
Linux Kernel Mailing List
sata_mv: drop unncessary EH callback resetting
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Rene Maroufi
smtpd: Aliases only work with for local alias aliases
Stephen J. Bevan
GRE over IPsec
Christophe Rioux
Implementation example of snmp
Darrin Chandler
Re: strange output on openbsd C code
Nick Holland
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate