GNOME Bugzilla – Bug 709551
Add large files support
Last modified: 2013-10-15 09:21:38 UTC
Created attachment 256608 [details] [review] PATCH [PATCH]: Add large files (> 4GB) streaming support I would like to submit a patch regarding large files support in rygel media server. The major part of this patch is done inside rygel-simple-data-source where we try to mmap a large file in the process virtual address space (4GB). As we can't mmap file > 4GB, this patch replaces mmap with simple read syscall.
Review of attachment 256608 [details] [review]: Has some missing spaces before and after (), otherwise looks good.
Created attachment 257236 [details] [review] engine: Add large files (> 4GB) streaming support. Slightly updated version for style and error handling
Created attachment 257239 [details] [review] engine: Add large files (> 4GB) streaming support. Turns out IOError.from_errno is broken, so create the IOError manually as in the original patch. https://bugzilla.gnome.org/show_bug.cgi?id=710085
Attachment 257239 [details] pushed as 4b91541 - engine: Add large files (> 4GB) streaming support.