Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure: add linux-io_uring flag (#2060) #2295

Merged
merged 1 commit into from Mar 29, 2021

Conversation

itisravi
Copy link
Member

By default, if liburing is not present on the machine where gluster rpms are
being built, then the built rpm won't have the feature present in posix.so.
While this is obviously displayed in the ./configure's summary, it means the
feature won't work on a target machine where the rpm is installed, even if the
target has Linux kernel >=5.1 and liburing installed.

I think it is better to have a configure option --enable-linux-io_uring which
is on by default. That way, the build machines will error out by default and
will need to ./configure --disable-linux-io_uring to compile or install the
lbirary and headers on the build machine.

Fixes: #2063
Change-Id: Ide1daa11b3513210d12be8d2cb683a4084d41e18
Signed-off-by: Ravishankar N ravishankar@redhat.com

By default, if liburing is not present on the machine where gluster rpms are
being built, then the built rpm won't have the feature present in posix.so.
While this is obviously displayed in the ./configure's summary, it means the
feature won't work on a target machine where the rpm is installed, even if the
target has Linux kernel >=5.1 and liburing installed.

I think it is better to have a configure option `--enable-linux-io_uring` which
is on by default. That way, the build machines will error out by default and
will need to `./configure --disable-linux-io_uring` to compile or install the
lbirary and headers on the build machine.

Fixes: gluster#2063
Change-Id: Ide1daa11b3513210d12be8d2cb683a4084d41e18
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
@itisravi
Copy link
Member Author

/run regression

@itisravi itisravi added the release 9 release 9 label Mar 24, 2021
@itisravi
Copy link
Member Author

/run regression

@rkothiya rkothiya merged commit fc1b424 into gluster:release-9 Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release 9 release 9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants