Re: [Nbd] nbd & discard/trim
- To: folkert <folkert@...421...>
- Cc: nbd-general@lists.sourceforge.net, Wouter Verhelst <w@...112...>
- Subject: Re: [Nbd] nbd & discard/trim
- From: Paul Clements <paul.clements@...856...>
- Date: Mon, 13 Aug 2012 09:31:57 -0400
- Message-id: <CAECXXi4=STwkUL3YRyrLPD+p2mwUKS3wt8vtEmW2KQbdu_52NA@...18...>
- In-reply-to: <20120809153507.GE14886@...855...>
- References: <20120809105752.GD14886@...855...> <20120809115751.GB22589@...3...> <CAECXXi7qU4sHK0=+wWTod-z7q94ZKuZWR2WengSPNRb414BuDA@...18...> <20120809153507.GE14886@...855...>
On Thu, Aug 9, 2012 at 11:35 AM, folkert <folkert@...421...> wrote:
>> >> What is the current way to enable discard/trim on an nbd block device?
>> >> My nbd server sends the appropriate flags:
>> >> int flags = 1 + 4 + 8 + 32; // FLAGS, FLUSH, FUA, TRIM
>> >> nbd-client package is of version: 1:3.2-1
>> >> connected as:
>> >> nbd-client bs=1024 172.16.86.1 12341 /dev/nbd0
>> >> but still mounting with e.g. -o noatime,discard fails.
>> >
>> > I believe the patch isn't in the kernel yet. Paul?
>>
>> That's correct. The patch has not gone into mainline.
>
> Do you have an estimate when it will be in mainline?
Let me take a look back at the patch and see if we can get this in in
the next couple weeks.
Thanks,
Paul
Reply to: