Skip to contentSkip to conversation

File copy problems kde 4.5 to 4.6.1 with reiser4

DISCUSSION berny® 1 participant 1 message Mar 16, 2011

lore
Share & tools
lore

berny®

author
#0 lore raw

Ok, thank you Edward.
I will try again with the 2.6.38 when you will release a patch, for now I think I will reformat with XFS just to have the copy/move working :-)
I prepared a pc with reiser4 and 2.6.38 (that got released today) different from this main one, waiting for the patch.

Thank you, again.
Paolo

Quoted 88 lines · On Tuesday 15 March 2011 17:35:18 you wrote:
Quoted 25 lines · Berny
Quoted 24 lines · Serkan Kaba

2011/3/9 berny®<[email protected]>:

Quoted 22 lines

Hi Edward,
first thank you for your work.

I'm using reiser4 for all my partitions on my working machine with kernel 2.6.37 with no problems
except one annoying one that is going on from months. When I copy a file (whatever) from one directory to another with konqueror, dolphin or krusader with
kde 4.6.1 the file get copied, it's size is correct but it is empty.

This happen only in the partitions formatted with reiser4 and not on the xfs, reiser3 ones.

Thank you,
warm regards,
Paolo
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 5 lines
Quoted 5 lines

I suspect that it's similar to what I experienced with gnome upgrade back in time. My problem was due to issues in splice code path which GNOME switch to for file copying along the way. I already reported this to GNOME [1] as well as this ML [2,3]. The issue appearing in only uncompressed partitions is interesting, Edward already asked me

It seems this is because of the following not implemented "todo":

int write_begin_unix_file(struct file *file, struct page *page,
loff_t pos, unsigned len, void **fsdata)
{

...

	if (info->container == UF_CONTAINER_TAILS) {
		warning("edward-1563", "Option not implemented");
		drop_exclusive_access(info);
		return -EINVAL;
	}

Tail conversion should go in this branch.
I'll try to implement it for .38, and we'll see,
if this was really the issue.

Thanks,
Edward.

Quoted 30 lines
Quoted 10 lines

if mine was, which isn't. My current workaround is to use a patched version of glib (part of gnome libs) that avoids using splice for reiser4 targets. If you have a KDE bugzilla account, can you also provide them links for discussions in the list as well as the GNOME bug?

1: https://bugzilla.gnome.org/show_bug.cgi?id=615346
2: http://marc.info/?l=reiserfs-devel&m=127096098705179&w=2
3: http://marc.info/?l=reiserfs-devel&m=129275181431455&w=2
--

So it seems that also kde probably use this library to splice data from a pipe, I saw that it seemed resolved in 2.6.36 but it is here again in 2.6.37.
I read your links, very good information.
I never know that kde was using this splice for copying things. Sorry but I'm not member of kde bugzilla, I was simply searching for information.
The problem is that only reiser4 exhibit this problem on my system so I guessed that was a problem of this file system, this is the reason because I didn't fill a bug on the other bugzilla.

Thanks,
Paolo

Quoted 4 lines

To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 5 lines

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html