using 'option transport.socket.own-thread on'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


Im trying to run the prove test suite with setting 'option
transport.socket.own-thread on' for each vol file. Ive added a
function to include.rc that adds that to each vol file, and then
modified the individual tests to call that function after each 'volume
create' in the tests *.t files.

It looks like this :

function enable-multi-thread-vol ()
{
$CLI volume stop $V0 force >/dev/null 2>&1
service glusterd stop >/dev/null 2>&1
sync
find /var/lib/glusterd/ -name \*.vol | xargs sed -i 's/.*type
protocol.*/&\n    option transport.socket.own-thread on/'
service glusterd start >/dev/null 2>&1
$CLI volume start $V0 force >/dev/null 2>&1
}

So I stop the volume, stop glusterd services, modify the files, and
then restart glusterd and the volumes after each 'volume create'.

However, the modification 'option transport.socket.own-thread on'
doesnt always get added to the vol files.

I have no idea why this is not working. Any help would be appreciated.


Thanks,


Regards,


John Smith



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux