Displaying 4 results from an estimated 4 matches for "oo_req".
Did you mean:
do_req
2007 Jun 05
0
[PATCH][XENTOP][0/4] Display blktap statistics.
...directory name is sufficient to distinguish VBD types.
Therefore, it is better to remove the prefix "tap_" in sysfs entries of blktap.
For example, currently sysfs entries are named as follows.
[root@xenmachine1 ~]# ls /sys/devices/xen-backend/vbd-1-51712/statistics/
br_req oo_req rd_req rd_sect wr_req wr_sect
[root@xenmachine1 ~]# ls /sys/devices/xen-backend/tap-2-51712/statistics/
tap_oo_req tap_rd_req tap_rd_sect tap_wr_req tap_wr_sect
After applying these patches, names of sysfs entries are changed as follows.
[root@xenmachine1 ~]# ls /sys/devic...
2018 May 23
3
[PATCH] block drivers/block: Use octal not symbolic permissions
...b/drivers/block/xen-blkback/xenbus.c
@@ -367,7 +367,7 @@ int __init xen_blkif_interface_init(void)
out: \
return sprintf(buf, format, result); \
} \
- static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL)
+ static DEVICE_ATTR(name, 0444, show_##name, NULL)
VBD_SHOW_ALLRING(oo_req, "%llu\n");
VBD_SHOW_ALLRING(rd_req, "%llu\n");
@@ -403,7 +403,7 @@ static const struct attribute_group xen_vbdstat_group = {
\
return sprintf(buf, format, ##args); \
} \
- static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL)
+ static DEVICE_ATTR(name,...
2018 May 23
3
[PATCH] block drivers/block: Use octal not symbolic permissions
...b/drivers/block/xen-blkback/xenbus.c
@@ -367,7 +367,7 @@ int __init xen_blkif_interface_init(void)
out: \
return sprintf(buf, format, result); \
} \
- static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL)
+ static DEVICE_ATTR(name, 0444, show_##name, NULL)
VBD_SHOW_ALLRING(oo_req, "%llu\n");
VBD_SHOW_ALLRING(rd_req, "%llu\n");
@@ -403,7 +403,7 @@ static const struct attribute_group xen_vbdstat_group = {
\
return sprintf(buf, format, ##args); \
} \
- static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL)
+ static DEVICE_ATTR(name,...
2011 Sep 01
9
[PATCH V4 0/3] xen-blkfront/blkback discard support
Dear list,
This is the V4 of the trim support for xen-blkfront/blkback,
Now we move BLKIF_OP_TRIM to BLKIF_OP_DISCARD, and dropped all
"trim" stuffs in the patches, and use "discard" instead.
Also we updated the helpers of blkif_x86_{32|64}_request or we
will meet problems using a non-native protocol.
And this patch has been tested with both SSD and raw file,
with SSD we will