reiserfs-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* File copy problems kde 4.5 to 4.6.1 with reiser4
@ 2011-03-09  9:18 berny®
  2011-03-09 10:32 ` Serkan Kaba
  2011-03-09 11:46 ` File copy problems kde 4.5 to 4.6.1 with reiser4 Edward Shishkin
  0 siblings, 2 replies; 17+ messages in thread
From: berny® @ 2011-03-09  9:18 UTC (permalink / raw)
  To: reiserfs-devel

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.

If I restart the pc, when I'm back all the files that were empty are now ok, it is like on un 
mounting the files get finalized and then on the next boot they are normally accessible.
No errors are shown during copy and file system is clean.
I discovered that this is also signaled like a kde bug 251392 with status unconfirmed. 

If I copy from a terminal with cp, rsync, mc the file get copied correctly so it is only in the 
combination kde + reiser4 that I get problems.
Don't know if it is a bug of reiser4 or of kde.

My mount options are no_write_barrier,dont_load_bitmap, the rest is default, the volumes are normal, 
I mean not cryptocompress.
An interesting thing, if I format the reiser4 with cryptocompress support (-o create=ccreg40, 
compress=lzo1) this behavior don't happen, I mean the files are copied correctly so it seems only to 
affect normal uncompressed reiser4 volumes.
Hope this can be of help to you.

Thank you,
warm regards,
Paolo

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: File copy problems kde 4.5 to 4.6.1 with reiser4
@ 2011-03-16 10:19 berny®
  0 siblings, 0 replies; 17+ messages in thread
From: berny® @ 2011-03-16 10:19 UTC (permalink / raw)
  To: reiserfs-devel

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












On Tuesday 15 March 2011 17:35:18 you wrote:
> On 03/09/2011 01:38 PM, Berny wrote:
> > On 03/09/2011 10:32 AM, Serkan Kaba wrote:
> >> 2011/3/9 berny®<berny@dwami.com>:
> >>> 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 majordomo@vger.kernel.org
> >>> More majordomo info at http://vger.kernel.org/majordomo-info.html
> >> 
> >> 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.
> 
> >> 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
> > 
> >> To unsubscribe from this list: send the line "unsubscribe
> >> reiserfs-devel" in
> >> the body of a message to majordomo@vger.kernel.org
> >> 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 majordomo@vger.kernel.org
> > 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 majordomo@vger.kernel.org
> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-04-26 12:39 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-09  9:18 File copy problems kde 4.5 to 4.6.1 with reiser4 berny®
2011-03-09 10:32 ` Serkan Kaba
2011-03-09 12:38   ` Berny
2011-03-09 16:40     ` Serkan Kaba
2011-03-09 16:55       ` Berny
2011-03-09 16:59         ` Serkan Kaba
2011-03-15 17:35     ` Edward Shishkin
2011-04-04 10:42       ` File copy problems kde 4.5 to 4.6.1 with reiser4 2.6.38 berny®
2011-04-05 19:36         ` Giuseppe Argentieri
2011-04-05 22:32           ` Edward Shishkin
2011-04-06  4:35             ` Serkan Kaba
     [not found]               ` <BANLkTimNoqZwW=N=5jcMm_C8cTw9ity55g@mail.gmail.com>
2011-04-06 20:07                 ` Serkan Kaba
2011-04-06 21:22                   ` Giuseppe Argentieri
2011-04-26 12:39                     ` Edward Shishkin
2011-03-09 11:46 ` File copy problems kde 4.5 to 4.6.1 with reiser4 Edward Shishkin
2011-03-09 12:46   ` Berny
  -- strict thread matches above, loose matches on Subject: below --
2011-03-16 10:19 berny®

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).