RE: [PATCH v2] hv: kvp: Avoid reading past allocated blocks from KVP file

2017-11-01 Thread Long Li
r.kernel.org; Paul Meyer > > Subject: Re: [PATCH v2] hv: kvp: Avoid reading past allocated blocks from > KVP file > > On Wed, Nov 01, 2017 at 06:39:00PM +, Long Li wrote: > > > From: Greg KH [mailto:g...@kroah.com] > > > Sent: Tuesday, October 31, 2017 11:50 PM &

Re: [PATCH v2] hv: kvp: Avoid reading past allocated blocks from KVP file

2017-11-01 Thread Greg KH
nux- > > ker...@vger.kernel.org; sta...@vger.kernel.org; Paul Meyer > > ; Long Li > > Subject: Re: [PATCH v2] hv: kvp: Avoid reading past allocated blocks from > > KVP file > > > > On Tue, Oct 31, 2017 at 01:02:35PM -0700, Long Li wrote: > > > From: Paul

RE: [PATCH v2] hv: kvp: Avoid reading past allocated blocks from KVP file

2017-11-01 Thread Long Li
> Subject: Re: [PATCH v2] hv: kvp: Avoid reading past allocated blocks from > KVP file > > On Tue, Oct 31, 2017 at 01:02:35PM -0700, Long Li wrote: > > From: Paul Meyer > > > > While reading in more than one block (50) of KVP records, the > > allocation goes per

Re: [PATCH v2] hv: kvp: Avoid reading past allocated blocks from KVP file

2017-10-31 Thread Greg KH
On Tue, Oct 31, 2017 at 01:02:35PM -0700, Long Li wrote: > From: Paul Meyer > > While reading in more than one block (50) of KVP records, the allocation > goes per block, but the reads used the total number of allocated records > (without resetting the pointer/stream). This causes the records buf