Branch: refs/heads/master
Home: https://github.com/openSUSE/obs-build
Commit: f14f8ace9f31d87f380da6ebcb3693f9ddd94148
https://github.com/openSUSE/obs-build/commit/f14f8ace9f31d87f380da6ebcb3693f...
Author: Jeff Mahoney
Date: 2018-06-04 (Mon, 04 Jun 2018)
Changed paths:
M computeblocklists
Log Message:
-----------
computeblocklists: document and use alternate ioctl numbers
Commit 9ecb7dc7 added fallback ioctls for use on architectures that
had historical operating systems for which Linux reused ioctl
numbers. The ioctl numbers were added as magic numbers, which makes
it difficult to determine what they are.
On these architectures, the ioctl direction field is 3 bits instead
of 2, and the "none" direction is represented as 1 instead of 0. This
commits adds an alt_ioctl helper that takes the "standard" Linux
ioctl number and converts it to the ioctl numbers used on those arches.
We also now print consistent error messages between the two ioctl calls.
Commit: a5ed3eebdb36cf624c5e3285b2dddd6f5fc05e16
https://github.com/openSUSE/obs-build/commit/a5ed3eebdb36cf624c5e3285b2dddd6...
Author: Jeff Mahoney
Date: 2018-06-04 (Mon, 04 Jun 2018)
Changed paths:
M computeblocklists
Log Message:
-----------
computeblocklists: don't use bare F for file
In preparation to pass the file handle to a subroutine, use a proper
variable instead of a file handle for the open file.
Commit: 8c90847caddd0e12a1a3652f15fffe87a63a96a6
https://github.com/openSUSE/obs-build/commit/8c90847caddd0e12a1a3652f15fffe8...
Author: Jeff Mahoney
Date: 2018-06-04 (Mon, 04 Jun 2018)
Changed paths:
M computeblocklists
Log Message:
-----------
computeblocklists: add support for FIEMAP ioctl
The FIBMAP ioctl is deprecated and will do strange things under
certain circumstances (like with unwritten extents). It's also
not supported at all by btrfs. This commit adds support for the
FIEMAP ioctl and handles the flag to identify unwritten extents
(to be treated as holes) and other flags that mean the file range
can't be translated to a usable block range. The FIEMAP ioctl
is much more efficient in the kernel, so we use that by default now.
Commit: 3627d88a28890d092048a8af974517fb9fd2e8b1
https://github.com/openSUSE/obs-build/commit/3627d88a28890d092048a8af974517f...
Author: Adrian Schröter
Date: 2018-06-05 (Tue, 05 Jun 2018)
Changed paths:
M computeblocklists
Log Message:
-----------
Merge pull request #446 from jeffmahoney/master
Iterate over block lists using FIEMAP
Compare: https://github.com/openSUSE/obs-build/compare/fb0746fb15a6...3627d88a2889
**NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.