android_kernel_xiaomi_sm8350/include
Chuck Lever 412d582ec1 [PATCH] NFS: use atomic bitops to manipulate flags in nfsi->flags
Introduce atomic bitops to manipulate the bits in the nfs_inode structure's
"flags" field.

Using bitops means we can use a generic wait_on_bit call instead of an ad hoc
locking scheme in fs/nfs/inode.c, so we can remove the "nfs_i_wait" field from
nfs_inode at the same time.

The other new flags field will continue to use bitmask and logic AND and OR.
This permits several flags to be set at the same time efficiently.  The
following patch adds a spin lock to protect these flags, and this spin lock
will later cover other fields in the nfs_inode structure, amortizing the cost
of using this type of serialization.

Test plan:
 Millions of fsx ops on SMP clients.

Signed-off-by: Chuck Lever <cel@netapp.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-18 12:53:56 -07:00
..
acpi /home/lenb/src/to-linus branch 'acpi-2.6.12' 2005-07-29 23:31:17 -04:00
asm-alpha [PATCH] pci and yenta: pcibios_bus_to_resource 2005-08-04 21:32:46 -07:00
asm-arm [ARM] Add syscall stubs for inotify and ioprio system calls 2005-08-15 10:57:08 +01:00
asm-arm26
asm-cris [PATCH] CRIS update: new subarchitecture v32 2005-07-27 16:26:01 -07:00
asm-frv
asm-generic [PATCH] pci and yenta: pcibios_bus_to_resource 2005-08-04 21:32:46 -07:00
asm-h8300
asm-i386 [PATCH] i386 / desc_empty macro is incorrect 2005-08-16 12:18:01 -07:00
asm-ia64 [IA64] fix iosapic_remove build error for !HOTPLUG 2005-08-10 15:42:41 -07:00
asm-m32r
asm-m68k
asm-m68knommu
asm-mips
asm-parisc [PATCH] pci and yenta: pcibios_bus_to_resource 2005-08-04 21:32:46 -07:00
asm-ppc [PATCH] ppc32: ppc440 pagetable attributes (comments updates) 2005-08-06 09:23:57 -07:00
asm-ppc64 [PATCH] iSeries build with newer assemblers and compilers 2005-08-16 21:06:25 -07:00
asm-s390 [PATCH] s390: ioprio & inotify system calls. 2005-08-01 21:37:59 -07:00
asm-sh [PATCH] sh: Make _syscall6() do the right thing. 2005-08-13 14:23:39 -07:00
asm-sh64
asm-sparc
asm-sparc64
asm-um um: fix __pa/__va macro expansion problem 2005-08-15 17:40:46 -07:00
asm-v850 [PATCH] v850: Define L1_CACHE_SHIFT and L1_CACHE_SHIFT_MAX 2005-07-27 16:26:03 -07:00
asm-x86_64 [PATCH] i386 / desc_empty macro is incorrect 2005-08-16 12:18:01 -07:00
asm-xtensa
linux [PATCH] NFS: use atomic bitops to manipulate flags in nfsi->flags 2005-08-18 12:53:56 -07:00
math-emu
media [PATCH] V4L: Miscellaneous fixes 2005-08-01 19:13:59 -07:00
mtd
net [Bluetooth] Remove unused functions and cleanup symbol exports 2005-08-06 12:36:51 +02:00
pcmcia
rxrpc
scsi [SCSI] fix target scanning oops with fc transport class 2005-08-08 17:14:55 -05:00
sound [ALSA] version 1.0.9b 2005-07-28 15:50:42 +02:00
video