[Gluster-devel] Toggle storage.linux-aio and volume restart

Ravishankar N ravishankar at redhat.com
Wed Dec 9 05:22:07 UTC 2020

On 09/12/20 10:39 am, Ravishankar N wrote:
> On 08/12/20 9:15 pm, Dmitry Antipov wrote:
>> IOW if aio_configured is true, fops->readv and fops->writev should be 
>> set to posix_aio_readv()
>> and posix_aio_writev(), respectively. But the whole picture looks 
>> like something in xlator
>> graph silently reverts fops->readv and fops->writev back to 
>> posix_xxxv() defaults.
> Looks like the (priv->io_uring_configured) check (I added this) which 
> comes after the (priv->aio_configure check) in posix_reconfigure() is 
> overwriting this.

And considering we do not have graph switch implemented on the server 
side, it is undesirable to toggle the fop dispatch table when there 
could be in-fight fops. Perhaps we should disallow changing linux-aio on 
the fly, like how it is done for linux-io_uring (see the check added in 
glusterd_op_stage_set_volume() for io_uring).


> -Ravi
> -------
> Community Meeting Calendar:
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://meet.google.com/cpu-eiue-hvk
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-devel

More information about the Gluster-devel mailing list