Displaying 19 results from an estimated 19 matches for "bits_per_unit".
2023 Feb 20
1
[PATCH v2] ocfs2: fix non-auto defrag path not working issue
.../ocfs2/move_extents.c
@@ -434,7 +434,7 @@ static int ocfs2_find_victim_alloc_group(struct inode *inode,
bg = (struct ocfs2_group_desc *)gd_bh->b_data;
if (vict_blkno < (le64_to_cpu(bg->bg_blkno) +
- le16_to_cpu(bg->bg_bits))) {
+ (le16_to_cpu(bg->bg_bits) << bits_per_unit))) {
*ret_bh = gd_bh;
*vict_bit = (vict_blkno - blkno) >>
@@ -549,6 +549,7 @@ static void ocfs2_probe_alloc_group(struct inode *inode, struct buffer_head *bh,
last_free_bits++;
if (last_free_bits == move_len) {
+ i -= move_len;
*goal_bit = i;
*phys_cpos = base_c...
2023 Feb 17
1
[PATCH] ocfs2: fix non-auto defrag path not working issue
.../ocfs2/move_extents.c
@@ -434,7 +434,7 @@ static int ocfs2_find_victim_alloc_group(struct inode *inode,
bg = (struct ocfs2_group_desc *)gd_bh->b_data;
if (vict_blkno < (le64_to_cpu(bg->bg_blkno) +
- le16_to_cpu(bg->bg_bits))) {
+ (le16_to_cpu(bg->bg_bits) << bits_per_unit))) {
*ret_bh = gd_bh;
*vict_bit = (vict_blkno - blkno) >>
@@ -549,6 +549,7 @@ static void ocfs2_probe_alloc_group(struct inode *inode, struct buffer_head *bh,
last_free_bits++;
if (last_free_bits == move_len) {
+ i -= move_len;
*goal_bit = i;
*phys_cpos = base_c...
2012 Mar 23
3
[LLVMdev] DragonEgg 3.0 with GCC 4.7
...hese problems were already fixed in
other commits in the repository.
Some of the errors I'm getting are:
/builddir/build/BUILD/dragonegg-3.0.src/src/Trees.cpp: In function 'uint64_t getFieldOffsetInBits(tree)':
/builddir/build/BUILD/dragonegg-3.0.src/src/Trees.cpp:191:56: error: 'BITS_PER_UNIT' was not declared in this scope
/builddir/build/BUILD/dragonegg-3.0.src/src/DefaultABI.cpp: In member function 'void DefaultABI::HandleArgument(tree, std::vector<llvm::Type*, std::allocator<llvm::Type*> >&, llvm::Attributes*)':
/builddir/build/BUILD/dragonegg-3.0.src/s...
2006 Nov 06
0
[LLVMdev] Problems building cfrontend 4 source on SUSE 10.1
...t;
In file included from ../../llvm-gcc4-1.8-source/gcc/libgcc2.c:64:<br>
../../llvm-gcc4-1.8-source/gcc/libgcc2.h:214:3: error: #error "expand
the table"../../llvm-gcc4-1.8-source/gcc/libgcc2.c: In function
‘__mulhi3’:<br>
../../llvm-gcc4-1.8-source/gcc/libgcc2.c:535: error: ‘BITS_PER_UNIT’
undeclared (first use in this function)<br>
../../llvm-gcc4-1.8-source/gcc/libgcc2.c:535: error: (Each undeclared
identifier is reported only once<br>
../../llvm-gcc4-1.8-source/gcc/libgcc2.c:535: error: for each function
it appears in.)<br>
<br>
<b>...or with the -v...
2006 Apr 22
3
[LLVMdev] Building CFE on MinGW
...ory
In file included from ../../src/gcc/libgcc2.c:44:
../../src/gcc/llvm-out.h:69: error: syntax error before '*' token
../../src/gcc/llvm-out.h:69: warning: function declaration isn't a
prototype
../../src/gcc/libgcc2.c: In function `__mulhi3':
../../src/gcc/libgcc2.c:502: error: `BITS_PER_UNIT' undeclared (first use
in this function)
../../src/gcc/libgcc2.c:502: error: (Each undeclared identifier is
reported only once
../../src/gcc/libgcc2.c:502: error: for each function it appears in.)
2023 Feb 20
1
[PATCH v2] ocfs2: fix non-auto defrag path not working issue
...-434,7 +434,7 @@ static int ocfs2_find_victim_alloc_group(struct inode *inode,
> bg = (struct ocfs2_group_desc *)gd_bh->b_data;
>
> if (vict_blkno < (le64_to_cpu(bg->bg_blkno) +
> - le16_to_cpu(bg->bg_bits))) {
> + (le16_to_cpu(bg->bg_bits) << bits_per_unit))) {
>
> *ret_bh = gd_bh;
> *vict_bit = (vict_blkno - blkno) >>
> @@ -549,6 +549,7 @@ static void ocfs2_probe_alloc_group(struct inode *inode, struct buffer_head *bh,
> last_free_bits++;
>
> if (last_free_bits == move_len) {
> + i -= move_len;
&g...
2006 Nov 06
1
[LLVMdev] Problems building cfrontend 4 source on SUSE 10.1
Hi Robert,
Please make sure that you:
1. Completely rebuild LLVM (make clean; make reconfigure; make
tools-only)
2. Completely rebuild llvm-gcc (wipe out the build dir with rm -rf,
configure llvm-gcc
and rebuild it)
If you've done that, then please enter the debugger and get a stack
trace for us.
You will need to:
1. Capture the xgcc compile command that failed
2. Run that command
2023 Feb 28
0
[merged mm-hotfixes-stable] ocfs2-fix-non-auto-defrag-path-not-working-issue.patch removed from -mm tree
...orking-issue
+++ a/fs/ocfs2/move_extents.c
@@ -434,7 +434,7 @@ static int ocfs2_find_victim_alloc_group
bg = (struct ocfs2_group_desc *)gd_bh->b_data;
if (vict_blkno < (le64_to_cpu(bg->bg_blkno) +
- le16_to_cpu(bg->bg_bits))) {
+ (le16_to_cpu(bg->bg_bits) << bits_per_unit))) {
*ret_bh = gd_bh;
*vict_bit = (vict_blkno - blkno) >>
@@ -549,6 +549,7 @@ static void ocfs2_probe_alloc_group(stru
last_free_bits++;
if (last_free_bits == move_len) {
+ i -= move_len;
*goal_bit = i;
*phys_cpos = base_cpos + i;
break;
@@ -1020,18 +1021,19...
2023 Mar 06
0
Patch "ocfs2: fix non-auto defrag path not working issue" has been added to the 6.2-stable tree
...ve_extents.c
+++ b/fs/ocfs2/move_extents.c
@@ -434,7 +434,7 @@ static int ocfs2_find_victim_alloc_group
bg = (struct ocfs2_group_desc *)gd_bh->b_data;
if (vict_blkno < (le64_to_cpu(bg->bg_blkno) +
- le16_to_cpu(bg->bg_bits))) {
+ (le16_to_cpu(bg->bg_bits) << bits_per_unit))) {
*ret_bh = gd_bh;
*vict_bit = (vict_blkno - blkno) >>
@@ -549,6 +549,7 @@ static void ocfs2_probe_alloc_group(stru
last_free_bits++;
if (last_free_bits == move_len) {
+ i -= move_len;
*goal_bit = i;
*phys_cpos = base_cpos + i;
break;
@@ -1020,18 +1021,19...
2023 Mar 06
0
Patch "ocfs2: fix non-auto defrag path not working issue" has been added to the 6.1-stable tree
...ve_extents.c
+++ b/fs/ocfs2/move_extents.c
@@ -434,7 +434,7 @@ static int ocfs2_find_victim_alloc_group
bg = (struct ocfs2_group_desc *)gd_bh->b_data;
if (vict_blkno < (le64_to_cpu(bg->bg_blkno) +
- le16_to_cpu(bg->bg_bits))) {
+ (le16_to_cpu(bg->bg_bits) << bits_per_unit))) {
*ret_bh = gd_bh;
*vict_bit = (vict_blkno - blkno) >>
@@ -549,6 +549,7 @@ static void ocfs2_probe_alloc_group(stru
last_free_bits++;
if (last_free_bits == move_len) {
+ i -= move_len;
*goal_bit = i;
*phys_cpos = base_cpos + i;
break;
@@ -1020,18 +1021,19...
2023 Mar 06
0
Patch "ocfs2: fix non-auto defrag path not working issue" has been added to the 5.15-stable tree
...ve_extents.c
+++ b/fs/ocfs2/move_extents.c
@@ -434,7 +434,7 @@ static int ocfs2_find_victim_alloc_group
bg = (struct ocfs2_group_desc *)gd_bh->b_data;
if (vict_blkno < (le64_to_cpu(bg->bg_blkno) +
- le16_to_cpu(bg->bg_bits))) {
+ (le16_to_cpu(bg->bg_bits) << bits_per_unit))) {
*ret_bh = gd_bh;
*vict_bit = (vict_blkno - blkno) >>
@@ -549,6 +549,7 @@ static void ocfs2_probe_alloc_group(stru
last_free_bits++;
if (last_free_bits == move_len) {
+ i -= move_len;
*goal_bit = i;
*phys_cpos = base_cpos + i;
break;
@@ -1020,18 +1021,19...
2023 Mar 06
0
Patch "ocfs2: fix non-auto defrag path not working issue" has been added to the 5.4-stable tree
...ve_extents.c
+++ b/fs/ocfs2/move_extents.c
@@ -436,7 +436,7 @@ static int ocfs2_find_victim_alloc_group
bg = (struct ocfs2_group_desc *)gd_bh->b_data;
if (vict_blkno < (le64_to_cpu(bg->bg_blkno) +
- le16_to_cpu(bg->bg_bits))) {
+ (le16_to_cpu(bg->bg_bits) << bits_per_unit))) {
*ret_bh = gd_bh;
*vict_bit = (vict_blkno - blkno) >>
@@ -551,6 +551,7 @@ static void ocfs2_probe_alloc_group(stru
last_free_bits++;
if (last_free_bits == move_len) {
+ i -= move_len;
*goal_bit = i;
*phys_cpos = base_cpos + i;
break;
@@ -1022,18 +1023,19...
2023 Mar 06
0
Patch "ocfs2: fix non-auto defrag path not working issue" has been added to the 4.19-stable tree
...ve_extents.c
+++ b/fs/ocfs2/move_extents.c
@@ -444,7 +444,7 @@ static int ocfs2_find_victim_alloc_group
bg = (struct ocfs2_group_desc *)gd_bh->b_data;
if (vict_blkno < (le64_to_cpu(bg->bg_blkno) +
- le16_to_cpu(bg->bg_bits))) {
+ (le16_to_cpu(bg->bg_bits) << bits_per_unit))) {
*ret_bh = gd_bh;
*vict_bit = (vict_blkno - blkno) >>
@@ -559,6 +559,7 @@ static void ocfs2_probe_alloc_group(stru
last_free_bits++;
if (last_free_bits == move_len) {
+ i -= move_len;
*goal_bit = i;
*phys_cpos = base_cpos + i;
break;
@@ -1030,18 +1031,19...
2006 Nov 06
4
[LLVMdev] Problems building cfrontend 4 source on SUSE 10.1
...t; In file included from ../../llvm-gcc4-1.8-source/gcc/libgcc2.c:64:
> ../../llvm-gcc4-1.8-source/gcc/libgcc2.h:214:3: error: #error "expand
> the table"../../llvm-gcc4-1.8-source/gcc/libgcc2.c: In function
> ‘__mulhi3’:
> ../../llvm-gcc4-1.8-source/gcc/libgcc2.c:535: error: ‘BITS_PER_UNIT’
> undeclared (first use in this function)
> ../../llvm-gcc4-1.8-source/gcc/libgcc2.c:535: error: (Each undeclared
> identifier is reported only once
> ../../llvm-gcc4-1.8-source/gcc/libgcc2.c:535: error: for each function
> it appears in.)
>
> ...or with the -v command added...
2023 Feb 23
0
+ ocfs2-fix-non-auto-defrag-path-not-working-issue.patch added to mm-hotfixes-unstable branch
...orking-issue
+++ a/fs/ocfs2/move_extents.c
@@ -434,7 +434,7 @@ static int ocfs2_find_victim_alloc_group
bg = (struct ocfs2_group_desc *)gd_bh->b_data;
if (vict_blkno < (le64_to_cpu(bg->bg_blkno) +
- le16_to_cpu(bg->bg_bits))) {
+ (le16_to_cpu(bg->bg_bits) << bits_per_unit))) {
*ret_bh = gd_bh;
*vict_bit = (vict_blkno - blkno) >>
@@ -549,6 +549,7 @@ static void ocfs2_probe_alloc_group(stru
last_free_bits++;
if (last_free_bits == move_len) {
+ i -= move_len;
*goal_bit = i;
*phys_cpos = base_cpos + i;
break;
@@ -1020,18 +1021,19...
2006 Nov 06
0
[LLVMdev] Problems building cfrontend 4 source on SUSE 10.1
...such
file or directory
In file included from ../../llvm-gcc4-1.8-source/gcc/libgcc2.c:64:
../../llvm-gcc4-1.8-source/gcc/libgcc2.h:214:3: error: #error "expand
the table"../../llvm-gcc4-1.8-source/gcc/libgcc2.c: In function
‘__mulhi3’:
../../llvm-gcc4-1.8-source/gcc/libgcc2.c:535: error: ‘BITS_PER_UNIT’
undeclared (first use in this function)
../../llvm-gcc4-1.8-source/gcc/libgcc2.c:535: error: (Each undeclared
identifier is reported only once
../../llvm-gcc4-1.8-source/gcc/libgcc2.c:535: error: for each function
it appears in.)
...or with the -v command added they look like this:
mykland@ascen...
2006 Nov 06
3
[LLVMdev] Problems building cfrontend 4 source on SUSE 10.1
I was having video problems, so upgraded my Linux box from SUSE 9.3,
where LLVM frontend 4 source built fine, to SUSE 10.1, where I got the
error message:
../../llvm-gcc4-1.8-source/gcc/libgcc2.c:541: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs> for instructions.
This version of SUSE
2006 Nov 06
2
[LLVMdev] Problems building cfrontend 4 source on SUSE 10.1
...-1.8-source/gcc/libgcc2.c:64:
> > > ../../llvm-gcc4-1.8-source/gcc/libgcc2.h:214:3: error: #error "expand
> > > the table"../../llvm-gcc4-1.8-source/gcc/libgcc2.c: In function
> > > ‘__mulhi3’:
> > > ../../llvm-gcc4-1.8-source/gcc/libgcc2.c:535: error: ‘BITS_PER_UNIT’
> > > undeclared (first use in this function)
> > > ../../llvm-gcc4-1.8-source/gcc/libgcc2.c:535: error: (Each undeclared
> > > identifier is reported only once
> > > ../../llvm-gcc4-1.8-source/gcc/libgcc2.c:535: error: for each function
> > > it appear...
2019 Oct 29
3
RFC: On non 8-bit bytes and the target for it
Thanks, Chris, for supporting the idea to have non-8-bits byte in LLVM.
I want to clarify the scope and then analyze the options we have.
The scope:
1. BitsPerByte or similar variable should be introduced to data layout;
include/CodeGen/ValueTypes.h and some other generic headers also need to be
updated and probably become dependent on the data layout.
2. Magic number 8 should be replaced with