Tianon Gravi
e8f6d5eb59
Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries
...
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com > (github: tianon)
Upstream-commit: 065dd231dd7d7858df982a8decfade9df936cf63
Component: engine
2014-01-31 03:16:42 -07:00
Alexander Larsson
c4546db20c
Discard all data on devicemapper devices when deleting them
...
This works around the fact that deleting a device in a thin pool
doesn't discard the free space. Unfortunately even this is not perfect,
as it seems discards are respected only for blocks that has never been
shared in the thin device code. However, this has been fixed in the
upstream kernel device-mapper tree:
http://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=for-next&id=0ab1c92ff748b745c1ed7cde31bb37ad2c5f901a
When this hits the kernel I belive this will fully return space
for removed images/containers to the host FS. For now it only
helps partially (which is better than nothing).
Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com > (github: alexlarsson)
Upstream-commit: 93e120e7d67313086d8bdecbcb57ea68958f91e4
Component: engine
2014-01-13 13:41:04 +01:00
Josh Poimboeuf
07db46c5e4
devmapper: add missing defines
...
Add some missing defines which are needed for compiling on older systems
like RHEL 6.
Upstream-commit: a015f38f4a886518828fe3807ee7dc9ff8ab9585
Component: engine
2013-12-06 10:13:47 -06:00
Guillaume J. Charmes
6bd279c623
Merge branch 'master' into docker-osx
...
Upstream-commit: f72e6048722baf8476dbadc3a10830bb55d6ef1b
Component: engine
2013-11-28 21:16:32 -08:00
Guillaume J. Charmes
908bc35224
Improve devmapper unit tests with syscall/ioctl
...
Upstream-commit: 261bd0d187cbc8f650d77e5c93872332c290b164
Component: engine
2013-11-28 11:53:09 -08:00
Guillaume J. Charmes
5f4f9d994f
Make devicemapper linux-only
...
Upstream-commit: 24c03b2d938d383dd7669dc8faad7e2110a11173
Component: engine
2013-11-27 19:12:51 -08:00
Guillaume J. Charmes
6eb8ce2948
Extract ioctl from wrapper
...
Upstream-commit: 1214b8897bba2a33a7ded8779bcdc966fe1cb176
Component: engine
2013-11-27 17:47:20 -08:00
Guillaume J. Charmes
3ddb3cbb0d
Move attach loop device to its own file
...
Upstream-commit: eb528b959efc0a3924939991be45704047fd5aea
Component: engine
2013-11-27 17:12:57 -08:00
Guillaume J. Charmes
097c09d144
Refactor attach loop device in pure Go
...
Upstream-commit: 74c8f7af756ed03131aee051b0ccb926b77e04db
Component: engine
2013-11-27 15:39:30 -08:00
Guillaume J. Charmes
a1d40e81ca
Use variable to call functions in devmapper_wrapper + some formatting
...
Upstream-commit: 79e2b33ede415736f9124089a61f4512c16ddddd
Component: engine
2013-11-22 12:25:37 -08:00
Solomon Hykes
91acb2bfd6
Devmapper: mock all calls to libdevmapper in the unit tests, and deny them by default
...
Upstream-commit: e2390318bb4cc98886777bdad3fbb860942b8e65
Component: engine
2013-11-20 23:39:02 +00:00
Solomon Hykes
d1d0a44d0f
devmapper: fix typo
...
Upstream-commit: 023ff36704ef5ad8d6fc8d0c07f718fec2ec5ff0
Component: engine
2013-11-20 23:12:19 +00:00
Guillaume J. Charmes
8380e89daf
Remove all syscall calls from devicemapper
...
Upstream-commit: 5690139785fc2bfaa2f233ed41d5f927a8b28dbf
Component: engine
2013-11-20 12:49:01 -08:00
Solomon Hykes
495a0f953c
Mock calls to system functions to facilitate unit testing
...
Upstream-commit: 92f94f06ae2fb4cddace5b817d6a6e326f3c9b33
Component: engine
2013-11-20 20:05:10 +00:00
Alexander Larsson
90396dc0fc
devicemapper tool: Add support for pool resizing
...
Upstream-commit: a0224e61b48e1dd1378cb955596fba1937e99068
Component: engine
2013-11-19 09:59:13 +01:00
Guillaume J. Charmes
052ebaaf52
Move all drivers to the same subdir graphdriver
...
Upstream-commit: 035c1442424ee502118cdbf2ee2dddafcc0f01cd
Component: engine
2013-11-15 15:48:24 -08:00