It's useless to check for preq->req_rw & REQ_FUA after:
preq->req_rw &= ~REQ_FUA;
Signed-off-by: Maxim Patlasov
---
drivers/block/ploop/io_kaio.c |2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/block/ploop/io_kaio.c b/drivers/block/ploop/io_kaio.c
index
The commit ec1eeb868 (May 22 2015) ported "separate queue for discard bio"
patch from RHEL6-based kernel incorrectly. Original patch stated clearly
that if we want to decrement bio_discard_qlen, bio_qlen must not change:
@@ -500,7 +502,7 @@ ploop_bio_queue(struct ploop_device * pl
On 06/16/2016 09:30 AM, Dmitry Monakhov wrote:
Dmitry Monakhov writes:
Maxim Patlasov writes:
Dima,
I agree that the ploop barrier code is broken in many ways, but I don't
think the patch actually fixes it. I hope you would agree that
Dmitry Monakhov writes:
> Maxim Patlasov writes:
>
>> Dima,
>>
>> I agree that the ploop barrier code is broken in many ways, but I don't
>> think the patch actually fixes it. I hope you would agree that
>> completion of REQ_FUA guarantees only
On Wed, Jun 15, 2016 at 12:09:18AM -0700, Andrey Vagin wrote:
> CRIU can dump queued data for unix and tcp sockets,
> now it's time for netlink sockets.
>
> Here are there questions.
> * How to dump data from a receive queue
> We can set peeking offset like we do for unix sockets.
>
> * How to
This is a leftover from PCS6. Currently this code does absolutely
nothing, so let's remove it.
Signed-off-by: Andrey Ryabinin
---
include/linux/fs.h | 1 -
security/device_cgroup.c | 13 ++---
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git
Currently, in order to allow a Container to mount device, we call an
ioctl(get_vzctlfd(), VZCTL_SETDEVPERMS, ) with S_IXUSR bit set.
In fact, this ioctl() is just a wrapper around dev cgroup interface, which
is very odd. Instead, lets allow to change mount permission via dev cgroup
interface.
When restoring containers with several disks it's more convenient
to mount device first and the setup permissions needed. So for this
sake we allow to escape device permissions testing inside VE only
if @pseudosuper state enabled.
https://jira.sw.ru/browse/PSBM-48421
CC: Vladimir Davydov
The commit is pushed to "branch-rh7-3.10.0-327.18.2.vz7.14.x-ovz" and will
appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-327.18.2.vz7.14.15
-->
commit eda1f7c1b63c7ede41f0f85e62012698e307d757
Author: Pavel Tikhomirov
Date: Thu Jun 16
Maxim Patlasov writes:
> Dima,
>
> I agree that the ploop barrier code is broken in many ways, but I don't
> think the patch actually fixes it. I hope you would agree that
> completion of REQ_FUA guarantees only landing that particular bio to the
> disk; it says
10 matches
Mail list logo