remarkable-linux/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
..
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
Kconfig
main.c fs/fscache: make ctl_table static 2014-08-06 18:01:12 -07:00
Makefile
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
stats.c FS-Cache: Count culled objects and objects rejected due to lack of space 2015-02-24 10:05:27 +00:00