Displaying 3 results from an estimated 3 matches for "block_only".
Did you mean:
blackonly
2011 Apr 07
0
[PATCH] btrfs-progs: cast u64 to long long to avoid printf warnings
...ioctl(fd, command, &args);
diff --git a/debug-tree.c b/debug-tree.c
index 0525354..e8ee64e 100644
--- a/debug-tree.c
+++ b/debug-tree.c
@@ -166,7 +166,8 @@ int main(int ac, char **av)
root->nodesize, 0);
}
if (!leaf) {
- fprintf(stderr, "failed to read %llu\n", block_only);
+ fprintf(stderr, "failed to read %llu\n",
+ (unsigned long long)block_only);
return 0;
}
btrfs_print_tree(root, leaf, 0);
diff --git a/disk-io.c b/disk-io.c
index a6e1000..5295dca 100644
--- a/disk-io.c
+++ b/disk-io.c
@@ -678,7 +678,8 @@ struct btrfs_root *open_ctree_fd...
2010 Jun 05
0
PULL: Properly cast and avoid compiler warnings, fixes build on alpha and ia64.
...e0..d94f7e7 100644
- --- a/debug-tree.c
+++ b/debug-tree.c
@@ -162,7 +162,8 @@ int main(int ac, char **av)
root->nodesize, 0);
}
if (!leaf) {
- - fprintf(stderr, "failed to read %llu\n",
block_only);
+ fprintf(stderr, "failed to read %llu\n",
+ (long long unsigned int) block_only);
return 0;
}
btrfs_print_tree(root, leaf, 0);
diff --git a/disk-io.c b/disk-io.c
index addebe1..463c8bc 1...
2006 Mar 10
12
[PATCH] Add SCHEDOP_block_on
This patch adds a facility to block on a particular event channel, for
when a domain needs to block, but cannot enable interrupts. A domain
uses the call something like this:
while (1) {
clear_evtchn_pending(evtchn);
if (check_for_data(evtchn))
break;
HYPERVISOR_block_on(evtchn);
}
The clear of the pending is needed to ensure that any subsequent calls
to block_on() don''t