Ming Lei writes:
> Hi,
>
> On Tue, Mar 31, 2015 at 10:02 PM, Jeff Moyer wrote:
>> Ming Lei writes:
>>
>>> Each bio is always submitted to block device one by one,
>>> so it isn't necessary to increase the bio refcount by one
>>> each time with holding dio->bio_lock.
>>
>> This patch opens up a
Ming Lei ming@canonical.com writes:
Hi,
On Tue, Mar 31, 2015 at 10:02 PM, Jeff Moyer jmo...@redhat.com wrote:
Ming Lei ming@canonical.com writes:
Each bio is always submitted to block device one by one,
so it isn't necessary to increase the bio refcount by one
each time with
Hi,
On Tue, Mar 31, 2015 at 10:02 PM, Jeff Moyer wrote:
> Ming Lei writes:
>
>> Each bio is always submitted to block device one by one,
>> so it isn't necessary to increase the bio refcount by one
>> each time with holding dio->bio_lock.
>
> This patch opens up a race where a completion event
Ming Lei writes:
> Each bio is always submitted to block device one by one,
> so it isn't necessary to increase the bio refcount by one
> each time with holding dio->bio_lock.
This patch opens up a race where a completion event can come in before
the refcount for the dio is incremented,
Each bio is always submitted to block device one by one,
so it isn't necessary to increase the bio refcount by one
each time with holding dio->bio_lock.
Signed-off-by: Ming Lei
---
fs/direct-io.c | 27 +--
1 file changed, 17 insertions(+), 10 deletions(-)
diff --git
Each bio is always submitted to block device one by one,
so it isn't necessary to increase the bio refcount by one
each time with holding dio-bio_lock.
Signed-off-by: Ming Lei ming@canonical.com
---
fs/direct-io.c | 27 +--
1 file changed, 17 insertions(+), 10
Hi,
On Tue, Mar 31, 2015 at 10:02 PM, Jeff Moyer jmo...@redhat.com wrote:
Ming Lei ming@canonical.com writes:
Each bio is always submitted to block device one by one,
so it isn't necessary to increase the bio refcount by one
each time with holding dio-bio_lock.
This patch opens up a
Ming Lei ming@canonical.com writes:
Each bio is always submitted to block device one by one,
so it isn't necessary to increase the bio refcount by one
each time with holding dio-bio_lock.
This patch opens up a race where a completion event can come in before
the refcount for the dio is
8 matches
Mail list logo