android_kernel_motorola_sm6375/fs/fscache
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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
cookie.c
fsdef.c
histogram.c
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
Makefile
netfs.c
object-list.c
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
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