Re: [PATCH v5 09/11] block: make BlockLimits::max_pdiscard 64bit

2021-06-07 Thread Eric Blake
On Wed, May 05, 2021 at 10:49:59AM +0300, Vladimir Sementsov-Ogievskiy wrote: > We are going to support 64 bit discard requests. Now update the > limit variable. It's absolutely safe. The variable is set in some > drivers, and used in bdrv_co_pdiscard(). > > Update also max_pdiscard variable in bd

[PATCH v5 09/11] block: make BlockLimits::max_pdiscard 64bit

2021-05-05 Thread Vladimir Sementsov-Ogievskiy
We are going to support 64 bit discard requests. Now update the limit variable. It's absolutely safe. The variable is set in some drivers, and used in bdrv_co_pdiscard(). Update also max_pdiscard variable in bdrv_co_pdiscard(), so that bdrv_co_pdiscard() is now prepared to 64bit requests. The rema