Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269782 - libtorrent-0.12.4.ebuild (Update) add posix-fallocate use flag
Summary: libtorrent-0.12.4.ebuild (Update) add posix-fallocate use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Lowest enhancement
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-14 06:09 UTC by Dan
Modified: 2009-12-22 19:49 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
adds posix-fallocate use flag to net-libs/libtorrent (libtorrent_posix_fallocate.diff,7.11 KB, patch)
2009-05-14 06:10 UTC, Dan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dan 2009-05-14 06:09:26 UTC
The attached patch adds a posix-fallocate flag to libtorrent. It applies the patch described here: http://libtorrent.rakshasa.no/ticket/460#comment:16

I've confirmed that this works with xfs on x86:

file downloaded from http://torrents.gentoo.org/torrents/install-x86-minimal-2008.0.torrent WITHOUT posix-fallocate:

$ xfs_bmap install-x86-minimal-2008.0/install-x86-minimal-2008.0.iso
install-x86-minimal-2008.0/install-x86-minimal-2008.0.iso:
        0: [0..2047]: 704539256..704541303
        1: [2048..2175]: 704538112..704538239
        2: [2176..2751]: 704538680..704539255
        <...SNIP...>
        65: [161504..161759]: 704538240..704538495
        66: [161760..162287]: 704541304..704541831
        67: [162288..162887]: 714383888..714384487

file downloaded from http://torrents.gentoo.org/torrents/install-x86-minimal-2008.0.torrent WITH posix-fallocate:

$ xfs_bmap install-x86-minimal-2008.0/install-x86-minimal-2008.0.iso
install-x86-minimal-2008.0/install-x86-minimal-2008.0.iso:
        0: [0..162887]: 548504..711391
Comment 1 Dan 2009-05-14 06:10:43 UTC
Created attachment 191227 [details, diff]
adds posix-fallocate use flag to net-libs/libtorrent
Comment 2 Marcin Mirosław 2009-12-20 14:39:20 UTC
It's seems that posix fallocate is integrated in 0.12.5 ( http://rakshasa.no/pipermail/libtorrent-devel/2009-June/002177.html ). I think there is no reason to keep this bug open.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-12-22 19:49:23 UTC
Closing per last comment.