globus_xio...iver_cntls(3)
π globus_xio_ordering_driver_cntls π
okay bestie, welcome to the Library Functions Manual page for globus_xio...iver_cntls β yes that's the actual shortened name, the terminal cut it off mid-word like it always does, so rude of it π« . Anyway. Sit down, hydrate, and let's talk about the ordering driver's attrs and cntls, because you're gonna slay this.
β¨ NAME β¨
globus_xio_ordering_driver_cntls β Attributes and Cntls.
- Attributes and Cntls.
like. that's the whole vibe. attributes and cntls. iconic, honestly.
πΈ SYNOPSIS πΈ
π Enumerations
enum globus_xio_ordering_cmd_t { GLOBUS_XIO_ORDERING_SET_OFFSET,
GLOBUS_XIO_ORDERING_SET_MAX_READ_COUNT,
GLOBUS_XIO_ORDERING_GET_MAX_READ_COUNT,
GLOBUS_XIO_ORDERING_SET_BUFFERING,
GLOBUS_XIO_ORDERING_GET_BUFFERING, GLOBUS_XIO_ORDERING_SET_BUF_SIZE,
GLOBUS_XIO_ORDERING_GET_BUF_SIZE,
GLOBUS_XIO_ORDERING_SET_MAX_BUF_COUNT,
GLOBUS_XIO_ORDERING_GET_MAX_BUF_COUNT }
π¦ Functions
- ```c globus_result_t globus_xio_handle_cntl (handle, driver, GLOBUS_XIO_ORDERING_SET_OFFSET, globus_off_t offset)
- ```c
globus_result_t globus_xio_attr_cntl (attr, driver,
GLOBUS_XIO_ORDERING_SET_MAX_READ_COUNT, int max_read_count)
- ```c globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_ORDERING_GET_MAX_READ_COUNT, int *max_read_count_out)
- ```c
globus_result_t globus_xio_attr_cntl (attr, driver,
GLOBUS_XIO_ORDERING_SET_BUFFERING, globus_bool_t buffering)
- ```c globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_ORDERING_GET_BUFFERING, globus_bool_t *buffering_out)
- ```c
globus_result_t globus_xio_attr_cntl (attr, driver,
GLOBUS_XIO_ORDERING_SET_BUF_SIZE, int buf_size)
- ```c globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_ORDERING_GET_BUF_SIZE, int *buf_size_out)
- ```c
globus_result_t globus_xio_attr_cntl (attr, driver,
GLOBUS_XIO_ORDERING_SET_MAX_BUF_COUNT, int max_buf_count)
- ```c globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_ORDERING_GET_MAX_BUF_COUNT, int *max_buf_count_out)
---
# π
Detailed Description π
Attributes and Cntls.
Ordering driver specific attrs and cntls. like, this whole page is the ordering driver's own little collection of attrs and cntls, and it's very much *her* page, no cap β¨.
### π See also
- `globus_xio_attr_cntl()`
- `globus_xio_handle_cntl()`
---
# π Enumeration Type Documentation π
## `enum globus_xio_ordering_cmd_t`
ORDERING driver specific cntls. that's the whole summary, periodt.
### Enumerator
- **`GLOBUS_XIO_ORDERING_SET_OFFSET`** β See usage for: `globus_xio_handle_cntl`
- **`GLOBUS_XIO_ORDERING_SET_MAX_READ_COUNT`** β See usage for: `globus_xio_attr_cntl`
- **`GLOBUS_XIO_ORDERING_GET_MAX_READ_COUNT`** β See usage for: `globus_xio_attr_cntl`
- **`GLOBUS_XIO_ORDERING_SET_BUFFERING`** β See usage for: `globus_xio_attr_cntl`
- **`GLOBUS_XIO_ORDERING_GET_BUFFERING`** β See usage for: `globus_xio_attr_cntl`
- **`GLOBUS_XIO_ORDERING_SET_BUF_SIZE`** β See usage for: `globus_xio_attr_cntl`
- **`GLOBUS_XIO_ORDERING_GET_BUF_SIZE`** β See usage for: `globus_xio_attr_cntl`
- **`GLOBUS_XIO_ORDERING_SET_MAX_BUF_COUNT`** β See usage for: `globus_xio_attr_cntl`
- **`GLOBUS_XIO_ORDERING_GET_MAX_BUF_COUNT`** β See usage for: `globus_xio_attr_cntl`
---
# π₯ Function Documentation π₯
> ok so every single one of these functions starts with the same little disclaimer: *"This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts."* it's giving copy-paste-from-Doxygen energy and honestly? same. I'm keeping it for every one because it's in the original and we do not drop details in this house π
## `globus_result_t globus_xio_attr_cntl (attr , driver , GLOBUS_XIO_ORDERING_GET_BUF_SIZE , int * buf_size_out)`
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the size of the buffer used for the internal reads.
**Parameters**
- *`buf_size_out`* β The buffer size will be stored in here.
## `globus_result_t globus_xio_attr_cntl (attr , driver , GLOBUS_XIO_ORDERING_GET_BUFFERING , globus_bool_t * buffering_out)`
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the buffering flag on the attr.
**Parameters**
- *`buffering_out`* β Buffering flag will be stored in here.
## `globus_result_t globus_xio_attr_cntl (attr , driver , GLOBUS_XIO_ORDERING_GET_MAX_BUF_COUNT , int * max_buf_count_out)`
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the maximum buffer count set on the attr.
**Parameters**
- *`max_buf_count_out`* β The maximun buffer count will be stored in here.
> not me pointing out that "maximun" is a typo in the original π β but bestie, I am *keeping* it, because the rule is we never change a single character. the typo stays. it's canon now.
## `globus_result_t globus_xio_attr_cntl (attr , driver , GLOBUS_XIO_ORDERING_GET_MAX_READ_COUNT , int * max_read_count_out)`
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Get the maximum number of parallel reads set on the attr.
**Parameters**
- *`max_read_count_out`* β The maximum number of parallel reads allowed will be stored here.
## `globus_result_t globus_xio_attr_cntl (attr , driver , GLOBUS_XIO_ORDERING_SET_BUF_SIZE , int buf_size)`
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the size of the buffer that ordering driver creates to use for reading data from the driver below it.
**Parameters**
- *`buf_size`* β Specifies the buffer size for internal reads (default is 100 KB).
## `globus_result_t globus_xio_attr_cntl (attr , driver , GLOBUS_XIO_ORDERING_SET_BUFFERING , globus_bool_t buffering)`
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. This driver can be used in 2 modes; ordering (care about offsets of the data read - underlying transport driver may deliver data out of order - this driver will rearrange data based on the offset and deliver inorder to user) and buffering (do not care about offsets - just buffer the data read abd deliver it when requested). This attribute control can be used to enable buffering.
**Parameters**
- *`buffering`* β `GLOBUS_TRUE` to enable buffering, `GLOBUS_FALSE` (default) to disable buffering.
> "abd" instead of "and" β again, not me fixing it, bestie, we preserve β¨ everything β¨ fr fr.
## `globus_result_t globus_xio_attr_cntl (attr , driver , GLOBUS_XIO_ORDERING_SET_MAX_BUF_COUNT , int max_buf_count)`
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the maximum number of buffers that this driver can create for reading data from the driver below it.
**Parameters**
- *`max_buf_count`* β Specifies the max buffer count for internal reads (default is 100).
## `globus_result_t globus_xio_attr_cntl (attr , driver , GLOBUS_XIO_ORDERING_SET_MAX_READ_COUNT , int max_read_count)`
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the maximum number of reads that ordering driver can have outstanding on driver(s) below.
**Parameters**
- *`max_read_count`* β Specifies the maximum number of parallel reads (default is 1).
## `globus_result_t globus_xio_handle_cntl (handle , driver , GLOBUS_XIO_ORDERING_SET_OFFSET , globus_off_t offset)`
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set offset for the next IO operation.
> π¨ bestie, read this part twice: this is **not allowed when there is an outstanding IO operation**, and this operation **clears all the buffered data**. so like, don't be mid-read and then yank the offset out from under yourself, okay? that's the kind of thing that ruins your whole day π
**Parameters**
- *`offset`* β Specifies the offset to use in the next IO operation.
---
# π Author π
Generated automatically by Doxygen for `globus_xio` from the source code. (so like, don't come for the prose, a robot wrote the original and *I* wrote this version, we're both just doing our jobs π«Ά)
---
<purple>and that's the whole page, bestie!! this was <rainbow>globus_xio</rainbow>, **Version 6.6**, in the `globus_xio` manual β go forth and order your data correctly, you absolute icon πβ¨ππ¦</purple>
π¦ where this page comes from
- epel 10: globus-xio-doc 6.6-4.el10_0 Β· Apache-2.0
- fedora 43: globus-xio-doc 6.6-9.fc43 Β· Apache-2.0
- fedora 44: globus-xio-doc 6.6-10.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-xio-doc 6.6-3build2 Β· Apache-2.0
- ubuntu stonking: libglobus-xio-doc 6.6-4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms