|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [RFC PATCH 14/17] block: support FALLOC_FL_PUNCH_HOLE trimming |
Date: | Fri, 09 Mar 2012 11:57:04 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 |
Il 09/03/2012 11:53, Stefan Hajnoczi ha scritto: > >> > 1) require a new-enough kernel and only use fallocate; return a NULL >> > aiocb if !has_discard and convert it to ENOTSUP. >> > >> > 2) extract now from my threads branch the work to generalize >> > posix-aio-compat into a more flexible threadpool, and move the AIO code >> > back to block/raw-posix.c. > 3) Add discard to posix-aio-compat.c as an AIO request? That would be (1) or you would need to pass down is_xfs. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |