On Wed, Aug 22, 2012 at 09:22:07PM +0200, Bart Verwilst wrote:
True. But i'm not using sanlock on ext4. :)
Hm, I wonder if libvirt is putting some sanlock files outside of
/var/lib/libvirt/sanlock... can you find out what file inode 5246167 is?
(BTW, with any shared fs I recommend first trying to use file locks
instead of sanlock.)
/var/log/syslog:Aug 22 09:56:50 vm03-test kernel: [43429.050495]
EXT4-fs (sda1): Unaligned AIO/DIO on inode 5246167 by sanlock;
performance will be poor.
/var/log/syslog:Aug 22 14:28:25 vm03-test kernel: [ 220.825868]
EXT4-fs (sda1): Unaligned AIO/DIO on inode 5246167 by sanlock;
performance will be poor.
/var/log/syslog:Aug 22 14:44:50 vm03-test kernel: [ 220.889358]
EXT4-fs (sda1): Unaligned AIO/DIO on inode 5246167 by sanlock;
performance will be poor.
/var/log/syslog:Aug 22 14:56:12 vm03-test kernel: [ 223.306754]
EXT4-fs (sda1): Unaligned AIO/DIO on inode 5246167 by sanlock;
performance will be poor.
/var/log/syslog:Aug 22 20:56:29 vm03-test kernel: [21827.583758]
EXT4-fs (sda1): Unaligned AIO/DIO on inode 5246167 by sanlock;
performance will be poor.
# mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
/dev/mapper/iscsi_cluster_qemu on /etc/libvirt/qemu type gfs2
(rw,relatime,hostdata=jid=2)
/dev/mapper/iscsi_cluster_sanlock on /var/lib/libvirt/sanlock type
gfs2 (rw,relatime,hostdata=jid=2)
# cat /etc/libvirt/qemu-sanlock.conf | grep -v ^#
auto_disk_leases = 1
disk_lease_dir = "/var/lib/libvirt/sanlock"
host_id = 3
Kind regards,
Bart
David Teigland schreef op 22.08.2012 18:16:
>On Sun, Aug 19, 2012 at 11:48:53AM +0200, Bart Verwilst wrote:
>>Hi list,
>>
>>I'm seeing this on one of my nodes. Reading
>>http://askubuntu.com/questions/118140/unaligned-aio-dio, i decided
>>to ask here to see if this is a bug or sth on my end. Using sanlock
>>2.2.
>>
>>[237829.026847] EXT4-fs (sda1): Unaligned AIO/DIO on inode 5246167
>>by sanlock; performance will be poor.
>
>There's not much point in using sanlock on ext4 in the first place
>since
>it's not a shared fs.