Re: Possible patch for CacheFiles: I/O Error: Unlink failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Howells <dhowells@xxxxxxxxxx> wrote:

> > The next question is... do you have an idea to cleanly fix this issue ? :-)
> 
> The attached patch fixes it for me.

Note that this patch should print a message each time it preemptively buries
an object.

	kdebug("preemptive burial: OBJ%x [%s] %p",
	       object->fscache.debug_id,
	       fscache_object_states[object->fscache.state],
	       dentry);

This is okay, and something I'll deal with later.  It should do this each time
it would otherwise have lead to vfs_unlink() returning EIO.

David

--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux