OpenCloudOS-Kernel/fs/fscache
David Howells 30ceec6284 FS-Cache: When submitting an op, cancel it if the target object is dying
When submitting an operation, prefer to cancel the operation immediately
rather than queuing it for later processing if the object is marked as dying
(ie. the object state machine has reached the KILL_OBJECT state).

Whilst we're at it, change the series of related test_bit() calls into a
READ_ONCE() and bitwise-AND operators to reduce the number of load
instructions (test_bit() has a volatile address).

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Steve Dickson <steved@redhat.com>
Acked-by: Jeff Layton <jeff.layton@primarydata.com>
2015-04-02 14:28:53 +01:00
..
Kconfig fscache: drop references to slow-work 2010-07-22 22:58:58 +02:00
Makefile FS-Cache: Allow the current state of all objects to be dumped 2009-11-19 18:11:04 +00:00
cache.c fs/fscache: convert printk to pr_foo() 2014-06-04 16:53:51 -07:00
cookie.c sched: Remove proliferation of wait_on_bit() action functions 2014-07-16 15:10:39 +02:00
fsdef.c FS-Cache: Provide the ability to enable/disable cookies 2013-09-27 18:40:25 +01:00
histogram.c fs/fscache: replace seq_printf by seq_puts 2014-06-04 16:53:52 -07:00
internal.h FS-Cache: Count culled objects and objects rejected due to lack of space 2015-02-24 10:05:27 +00:00
main.c fs/fscache: make ctl_table static 2014-08-06 18:01:12 -07:00
netfs.c fs/fscache: convert printk to pr_foo() 2014-06-04 16:53:51 -07:00
object-list.c fs/fscache/object-list.c: use __seq_open_private() 2014-10-13 17:52:21 +01:00
object.c FS-Cache: Count culled objects and objects rejected due to lack of space 2015-02-24 10:05:27 +00:00
operation.c FS-Cache: When submitting an op, cancel it if the target object is dying 2015-04-02 14:28:53 +01:00
page.c FS-Cache: refcount becomes corrupt under vma pressure. 2014-09-17 22:41:40 +01:00
proc.c FS-Cache: Allow the current state of all objects to be dumped 2009-11-19 18:11:04 +00:00
stats.c FS-Cache: Count culled objects and objects rejected due to lack of space 2015-02-24 10:05:27 +00:00