Displaying 18 results from an estimated 18 matches similar to: "[PATCH 1/2] loop: fix loop_info struct"
2019 Nov 01
0
[PATCH 1/2 v2] loop: fix loop_info struct
The structure definition in the header, does not match the kernel's
definition (on most architectures) which leads to undefined behaviour.
References: https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/1850184
Signed-off-by: Michael Hudson-Doyle <michael.hudson at ubuntu.com>
Signed-off-by: Adam Conrad <adconrad at ubuntu.com>
Signed-off-by: Dimitri John Ledkov <xnox at
2019 Oct 31
0
[PATCH 2/2] loop: switch to linux/loop.h
linux/loop.h header is exported by linux, for userspace to
consume. This would prevent issues with struct sizes
incompatibilities.
References: https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/1850184
Signed-off-by: Michael Hudson-Doyle <michael.hudson at ubuntu.com>
Signed-off-by: Adam Conrad <adconrad at ubuntu.com>
Signed-off-by: Dimitri John Ledkov <xnox at ubuntu.com>
2019 Nov 05
0
[klibc:master] losetup: Delete fallbacks to LOOP_{GET, SET}_STATUS
Commit-ID: 209676c9a3d057c0eba48f633eb541b17c7d1eba
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=209676c9a3d057c0eba48f633eb541b17c7d1eba
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Tue, 5 Nov 2019 00:33:37 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Tue, 5 Nov 2019 19:55:37 +0000
[klibc] losetup: Delete fallbacks to
2010 Mar 14
0
[patches] klibc review unsorted patch queue
hello hpa,
please review this unsorted patch queue,
as I wasn't sure about them they didn't land yet in todays
pull request.
thanks
max
git clone git://git.debian.org/users/maks/klibc.git test
Thomas B?chler (1):
klcc: compile shared by default
jeremy buisson (1):
[klibc] sparc64: fix bad 32 bits socket syscalls
maximilian attems (1):
[klibc] add losetup utils
the
2019 Nov 05
0
[klibc:master] loop: switch to linux/loop.h
Commit-ID: 547b7cf241d4bcf518759d06cff694b9738c57b0
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=547b7cf241d4bcf518759d06cff694b9738c57b0
Author: Dimitri John Ledkov <xnox at ubuntu.com>
AuthorDate: Thu, 31 Oct 2019 15:59:02 -0700
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Tue, 5 Nov 2019 00:42:26 +0000
[klibc] loop: switch to
2011 Jan 22
32
Bug in mkfs.btrfs?!
Hi,
I wanted to create a new btrfs fs for my backups.
When trying to mkfs.btrfs for that device, I''m getting
"error checking /dev/loop2 mount status"
With strace I see where the problem is:
lstat("/dev/disk/by-id/ata-INTEL_SSDSA2M160G2GC_CVPO939201JX160AGN-par",
0x7fffa30b3cf0) = -1 ENOENT (No such file or directory)
The problem is there is something missing
2015 Jan 02
13
[PATCH 0/9] linux/syslinux: support ext2/3/4 device
Hello,
Happy New Year!
These patches make syslinux/linux support ext2/3/4, and it doesn't
require the root privilege, I'd like to add a separate e2fs/syslinux, if
that is more appropriate, it should be easy to do that.
I put these patches on github so that you can easily get them in case
you'd like to test them. (The repo's name is sys_tmp, which avoids
confusing others, I will
2012 Sep 10
19
Initial support for sector size >512
This set of patches add some support for sector size >512.
Currently it fixes extlinux, MBR for GPT and ext partitions.
Other code is unaffected.
This set of patches has been tested on a read Dell machine running a beta
firmware.
2019 Nov 01
2
[PATCH 2/2] loop: switch to linux/loop.h
On Thu, 2019-10-31 at 22:59 +0000, Dimitri John Ledkov wrote:
> linux/loop.h header is exported by linux, for userspace to
> consume. This would prevent issues with struct sizes
> incompatibilities.
[...]
The structure definitions can't change in future, so I don't think
that's a real issue after the previous patch. But I agree that we
should prefer using the kernel's
2019 Nov 04
2
[PATCH 2/2] loop: switch to linux/loop.h
On Fri, 1 Nov 2019 at 14:40:24, Dimitri John Ledkov wrote:
>
> On Fri, 1 Nov 2019 at 14:36, Ben Hutchings <ben at decadent.org.uk> wrote:
>
> > The structure definitions can't change in future, so I don't think
> > that's a real issue after the previous patch. But I agree that we
> > should prefer using the kernel's UAPI headers wherever possible.
2012 Nov 22
2
[LLVMdev] Disable loop unroll pass
Hi, Gang:
I remember there were different voices when you check-in the code.
I agree with them although I didn't reply your mail in open64's mailing
list.
In the transformation you illustrate, it involves two operations:
1) promote WHILE-loop into DO-loop (i.e noncountable loop to
countable loop)
2) get rid of trip-count dec/inc and compare.
1) is irrelevant to HW loop.
2012 Nov 22
0
[LLVMdev] Disable loop unroll pass
I am the designer for open64 hwloop structure, but I am not a student.
Hope the following helps:
To transform a loop into hwloop, we need the help from optimizer. For example,
while(k3>=10){
sum+=k1;
k3 --;
}
into the form:
zdl_loop(k3-9) {
sum+=k1;
}
So, we introduce a new ZDLBR whirl(open64 optimizer intermediate) operator, which represents the loop in whirl as:
2011 Jul 16
1
crash in extlinux/main
Hi,
I found a bug in extlinux/main.c. Writing a bootloader on a file mounted via
/dev/mapper in Lunix it crashed on me with a segment fault.
The bug is here:
if (!ioctl(devfd, HDIO_GETGEO, &geo)) {
Since we are already called with geo as a pointer the & is wrong as the
pointer itself will be overwritten.
This works:
int get_geometry(int devfd, uint64_t totalbytes, struct
2019 Nov 05
0
[klibc:master] losetup: Use LOOP_CTL_GET_FREE to find free device
Commit-ID: 333ef3af1dcef61a6bc5dba531453e5e0cb27da1
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=333ef3af1dcef61a6bc5dba531453e5e0cb27da1
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Tue, 5 Nov 2019 19:52:19 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Tue, 5 Nov 2019 20:03:26 +0000
[klibc] losetup: Use
2012 Nov 22
3
[LLVMdev] Disable loop unroll pass
Hi Shuxin, Eli,
On 22/11/2012 03:19, Shuxin Yang wrote:
> Hi, Ivan:
>
> My $0.02. hasZeroCostLooping() disabling unrolling dose not seem
> to be
> appropriate for other architectures, at least the one I worked before.
I appreciate your feed-back. Could you give an example where building a
hw loop is not appropriate for your target?
>
> You mentioned:
>
2012 Nov 22
0
[LLVMdev] Disable loop unroll pass
Hi shuxin,
Promote while-loop to do-loop is the job of loop induction recognized, not this transformation. The scalar transform for hwloop in optimizer is for that it is a trouble to discriminate trip counting code with the real production code stuff and do the elimination in cg, we have to write customized code to handle this general stuff in ervey targets. So, we take the help from optimizer
2009 Nov 14
2
[PATCH] btrfs-progs: Check mount status of multidevice filesystems
Some programs like btrfsck should not be run on a mounted filesystem.
This patch adds a check in btrfs_open_devices() for the mount status
of every device belonging to the filesystem. The function check_mount()
gets improved support for loopback devices. It now detects if the
program is run on the file that is being used by the loopback device.
Signed-off-by: Andi Drebes
2012 Aug 02
0
[PATCH 1/3] ALPHA: make sector size dynamic in extlinux
This is part of some patches to support sectors > 512.
Currently I'm able to boot a Ubuntu kernel but seems that mboot is not working for some reason.
This patch try to fix first stage of extlinux bootloader but have some problems with ADV
Signed-off-by: Frediano Ziglio <frediano.ziglio at citrix.com>
---
dos/syslinux.c | 2 +-
extlinux/main.c | 36