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

Re: [Nbd] nbd & discard/trim



Hi Paul,

On Thu, Aug 23, 2012 at 09:57:13AM -0400, Paul Clements wrote:
> OK, attached are the two patches that I have queued. The first adds
> the SET_FLAGS ioctl. The second adds the TRIM/DISCARD support. Once
> people have had a chance to review and (ideally) test the patches I'll
> push to mainline. In particular, can someone please verify these
> patches are compatible with current nbd tools -- specifically the
> ioctl and flag values. I think I've got those right, but I'd like to
> be sure.

Seems so; I just ran git HEAD nbd-client against Linux 3.6 commit
5cca7e2e, and I could connect and disconnect just fine.

Sorry this took so long. It'd been about 10 years now since I last
compiled my own kernels regularly, and apparently I've gotten somewhat
rusty in figuring out which drivers I need and which I don't. But I got
it to work in the end.

Regards,

-- 
The volume of a pizza of thickness a and radius z can be described by
the following formula:

pi zz a



Reply to: