|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] fstrim & upstream kernel not working |
Date: | Fri, 14 Mar 2014 14:28:24 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Il 14/03/2014 14:24, Richard W.M. Jones ha scritto:
> Could be a race condition (something going on in the background > between rm and fstrim).Not much happens in the libguestfs appliance. There are usually only two processes (udev + guestfsd).
There's also the kernel. The ext4 driver is probably doing something after rm returns, and hasn't finished yet when you invoke FITRIM.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |