[Linux-cachefs] cachefiles bug

David Howells dhowells at redhat.com
Wed Mar 31 12:41:53 UTC 2010


Romain DEGEZ <romain.degez at smartjog.com> wrote:

> [ 4868.465413] CacheFiles: I/O Error: Unlink failed

I'm at a bit of a loss to explain why Ext4 returned EIO.

Sticking an extra call to vfs_unlink() to try and delete the file twice
results in ENOENT on the second call, not EIO.

The only path out of ext4_unlink() that results in EIO without some sort of
error message is:

	retval = -EIO;
	if (le32_to_cpu(de->inode) != inode->i_ino)
		goto end_unlink;

The good news is that I've found a way to reproduce it.

David




More information about the Linux-cachefs mailing list