[Devel] [PATCH RHEL9 COMMIT] dm-ploop: Use READ_ONCE/WRITE_ONCE to access md page data

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 329b26c848f1c0a6dce91678dc87b13b36e5ff8c Author: Alexander Atanasov Date: Fri Jan 24 17:35:36 2025 +0200 dm-ploop: U

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: combine processing of pios thru prepare list and remove fsync worker

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 2aa2dd0074abe2df067201bc6ab6e9dd15f9cb33 Author: Alexander Atanasov Date: Fri Jan 24 17:35:43 2025 +0200 dm-ploop: c

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: move from wq to kthread

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 8493a7bb51af6c43ab9f4e93e1268ff47abf8b02 Author: Alexander Atanasov Date: Fri Jan 24 17:35:44 2025 +0200 dm-ploop: m

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: set IOCB_DSYNC on all FUA requests

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 82b955ad25bae51176b1fb44e38183317fc5a360 Author: Andrey Zhadchenko Date: Fri Jan 24 17:35:48 2025 +0200 dm-ploop: se

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: fast path execution for reads

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 46382ef09dc5d44f3c440f05fa826d25a1da5545 Author: Alexander Atanasov Date: Fri Jan 24 17:35:46 2025 +0200 dm-ploop: f

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: introduce per-md page locking

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 42a5438a26c0d8ae2e05d61871cd3557973ce436 Author: Andrey Zhadchenko Date: Fri Jan 24 17:35:50 2025 +0200 dm-ploop: in

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: fsync after all pios are sent

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit e44e7893e18a2505e60dca4edff3481971e75ef3 Author: Alexander Atanasov Date: Fri Jan 24 17:35:37 2025 +0200 dm-ploop: f

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: move preparations of pios into the caller from worker

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit c376cd1bb787bcc7ead8db618cb38ae654ef50af Author: Alexander Atanasov Date: Fri Jan 24 17:35:45 2025 +0200 dm-ploop: m

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: drop ploop_cluster_is_in_top_delta()

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 85c439d8879bc0579f848ba5c35bbda1386109c8 Author: Andrey Zhadchenko Date: Fri Jan 24 17:35:55 2025 +0200 dm-ploop: dr

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: remove extra ploop_cluster_is_in_top_delta()

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 6fb6f5505bb90e3675408afae8000cbf1abde512 Author: Andrey Zhadchenko Date: Fri Jan 24 17:35:49 2025 +0200 dm-ploop: re

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: convert wait_list and wb_batch_llist to use lockless lists

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 53eb37d4b65dd65f43bc96fce8b44c6035868a70 Author: Alexander Atanasov Date: Fri Jan 24 17:35:39 2025 +0200 dm-ploop: c

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: convert suspended_pios list to use lockless list

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit ebabfe1a2862c4d838e365c33839c2685ea34b0e Author: Alexander Atanasov Date: Fri Jan 24 17:35:41 2025 +0200 dm-ploop: c

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: reduce BAT accesses on discard completion

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit e4619ce0dfa0c683f4951e8ab8743c432a4025e1 Author: Andrey Zhadchenko Date: Fri Jan 24 17:35:51 2025 +0200 dm-ploop: re

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: make new allocations immediately visible in BAT

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 57e1350502afc8197c99f214cc8d3ac2f3d5fa35 Author: Andrey Zhadchenko Date: Fri Jan 24 17:35:54 2025 +0200 dm-ploop: ma

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: md_pages map all pages at creation time

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 6c09eab1f677d38d8a07eed798ec482c6435b15d Author: Alexander Atanasov Date: Fri Jan 24 17:35:35 2025 +0200 dm-ploop: m

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: move md status to use proper bitops

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit e820dda760ec423cbc615eff5856c2f33fc949e2 Author: Alexander Atanasov Date: Fri Jan 24 17:35:38 2025 +0200 dm-ploop: m

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: convert enospc handling to use lockless lists

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 818f30259604dc696d0a0dc79ba79471499c980c Author: Alexander Atanasov Date: Fri Jan 24 17:35:40 2025 +0200 dm-ploop: c

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: add interface to disable bat writeback delay

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit c694f26e94c33b9b71b5ba49fd09155c14a59954 Author: Alexander Atanasov Date: Fri Jan 24 17:36:03 2025 +0200 dm-ploop: a

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: introduce pio runner threads

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit a0a2f1d32890bcd05eda57ca877034ca295aa42a Author: Alexander Atanasov Date: Fri Jan 24 17:36:12 2025 +0200 dm-ploop: i

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: prepare bat updates under bat_lock

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 9b7d1740a213859683c595b3d22bcdfaaad6af5c Author: Alexander Atanasov Date: Fri Jan 24 17:36:09 2025 +0200 dm-ploop: p

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: BAT use only one list for writeback

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit efd67c1da6fbe692fabfea6b54b7c149fb21be3a Author: Alexander Atanasov Date: Fri Jan 24 17:36:01 2025 +0200 dm-ploop: B

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: speed up ploop_prepare_bat_update()

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit ac9fa0f4e6475ed064026c58d3a492218ff65acb Author: Andrey Zhadchenko Date: Fri Jan 24 17:35:53 2025 +0200 dm-ploop: sp

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: make md writeback timeout to be per page

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit fbaa63e5ce1f82a6c2d24eb8d8750fd7001cdfc2 Author: Alexander Atanasov Date: Fri Jan 24 17:36:02 2025 +0200 dm-ploop: m

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: convert high_prio to status

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 029e80f45cc232b43c69f982af17a842d577256d Author: Alexander Atanasov Date: Fri Jan 24 17:36:05 2025 +0200 dm-ploop: c

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: add delay for metadata writeback

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 1b43f815b4972d098a9514d73355bdd688f7d04e Author: Andrey Zhadchenko Date: Fri Jan 24 17:35:57 2025 +0200 dm-ploop: ad

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: make ploop_bat_write_complete ready for parallel pio completion

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit f07789ed3693d6dc0afd23b5bf14939323f6aff4 Author: Alexander Atanasov Date: Fri Jan 24 17:36:10 2025 +0200 dm-ploop: m

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: make ploop_submit_metadata_writeback return number of requests sent

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 1451e146b07ff35351f2b8247cb148027724fee8 Author: Alexander Atanasov Date: Fri Jan 24 17:36:11 2025 +0200 dm-ploop: m

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: disable fast path

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit da4441c2e325dc1e819b15a29ff424173fc1e9b9 Author: Alexander Atanasov Date: Fri Jan 24 17:36:16 2025 +0200 dm-ploop: d

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: give runner threads better name

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 25360c356aa317a312fc9693a589e8daa57f0215 Author: Alexander Atanasov Date: Fri Jan 24 17:36:19 2025 +0200 dm-ploop: g

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: use lockless lists for chained cow updates list

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit b0df529ec4bd403eea048a460b7225507fb3e917 Author: Alexander Atanasov Date: Fri Jan 24 17:36:17 2025 +0200 dm-ploop: u

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: convert md page rw lock to spin lock

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 4c13acc9dbf5e11f1084312d16236ad92e3cdb2b Author: Alexander Atanasov Date: Fri Jan 24 17:36:07 2025 +0200 dm-ploop: c

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: split cow processing into two functions

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 36a162bb4c5809e95f540eac112dbf10d55423b4 Author: Alexander Atanasov Date: Fri Jan 24 17:36:06 2025 +0200 dm-ploop: s

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: use filp per thread

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 760c978a364af97438758553edd41397fdc15cfc Author: Alexander Atanasov Date: Fri Jan 24 17:36:22 2025 +0200 dm-ploop: u

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: remove unnecessary operations

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit bcb33add43e647925f573582603cd3a222fab5b0 Author: Alexander Atanasov Date: Fri Jan 24 17:36:21 2025 +0200 dm-ploop: r

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: catch if we try to advance pio past bio end

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit ac12324ff3af0dbeffb2da42c52954ba755541d5 Author: Alexander Atanasov Date: Fri Jan 24 17:36:23 2025 +0200 dm-ploop: c

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: process pios via runners

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit eb6c355512b3263b2d152cf95c2b5927b8cf96db Author: Alexander Atanasov Date: Fri Jan 24 17:36:14 2025 +0200 dm-ploop: p

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: support REQ_FUA for data pios

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 63fd4c4e66c8aba32dd48f70b0acd4994b329822 Author: Alexander Atanasov Date: Fri Jan 24 17:36:24 2025 +0200 dm-ploop: s

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: resize operation - add holes bitmap locking

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 540abebd83c61c8414a4a11088b36fdd48f9d4bd Author: Alexander Atanasov Date: Fri Jan 24 17:36:20 2025 +0200 dm-ploop: r

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: rework bat completion logic

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 050030db3438c01f105d4904a73d615a7dc124c8 Author: Alexander Atanasov Date: Fri Jan 24 17:36:29 2025 +0200 dm-ploop: r

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: sync when suspended or stopping

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 086db838740e51609a13d4e2b71ed80e8af359d3 Author: Alexander Atanasov Date: Fri Jan 24 17:36:28 2025 +0200 dm-ploop: s

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: end fsync pios in parallel

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit f68f8ecb535c9b780e85d1f9c6f0e6b74bb38c0e Author: Alexander Atanasov Date: Fri Jan 24 17:36:31 2025 +0200 dm-ploop: e

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: rework logic in pio processing

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 56504024d8de6fe86135e798de90370d87099714 Author: Alexander Atanasov Date: Fri Jan 24 17:36:30 2025 +0200 dm-ploop: r

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: dm-ploop: simplify discard completion

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 8d473be14464b5a4dca653eab97ef5eea132e914 Author: Alexander Atanasov Date: Fri Jan 24 17:36:34 2025 +0200 dm-ploop: d

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: proplerly access nr_bat_entries

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 6c527ebc75036f82303e4dc20aeff33f4ac44ad0 Author: Alexander Atanasov Date: Fri Jan 24 17:36:25 2025 +0200 dm-ploop: p

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: fix locks used in mixed context

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit ddf4c7d5db2fa013124c1e131610cdc4187a9a9a Author: Alexander Atanasov Date: Fri Jan 24 17:36:36 2025 +0200 dm-ploop: f

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: fix locking and improve error handling when submitting pios

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 4b922f2e6f8217ed03051e0ab79c530c1c615b3c Author: Alexander Atanasov Date: Fri Jan 24 17:36:26 2025 +0200 dm-ploop: f

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: fix how ENOTBLK is handled

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 8a037103fe00c081c335ca618580525d9b92027f Author: Alexander Atanasov Date: Fri Jan 24 17:36:27 2025 +0200 dm-ploop: f

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: fix how current flags are managed inside threads

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 82040b9a30ca738170689738aa53ab617ccb6169 Author: Alexander Atanasov Date: Fri Jan 24 17:36:37 2025 +0200 dm-ploop: f

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: use GFP_ATOMIC instead of GFP_NOIO

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 99e18f6fee415ac23a9193d001bcc80fd520da16 Author: Alexander Atanasov Date: Fri Jan 24 17:36:35 2025 +0200 dm-ploop: u

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: use lockless lists for data ready pios

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit a71dbecdb6692d7465a3ca81160c233a12ab9ae1 Author: Alexander Atanasov Date: Fri Jan 24 17:36:18 2025 +0200 dm-ploop: u

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: make filespace preallocations async

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 03c4d103e5213f72087c7ce295b0dfcb66ef47de Author: Alexander Atanasov Date: Fri Jan 24 17:36:32 2025 +0200 dm-ploop: m

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: convert wb_batch_list to lockless variant

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit dfdcc0b79d4ba8c90fc310bea0831a9bb41c21d6 Author: Alexander Atanasov Date: Fri Jan 24 17:36:04 2025 +0200 dm-ploop: c

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: convert bat_rwlock to bat_lock spinlock

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 81f2bd63409ff699878e5625b45ffdb440270c38 Author: Alexander Atanasov Date: Fri Jan 24 17:36:08 2025 +0200 dm-ploop: c

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: disable metadata writeback delay

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 079d405a56e631e9e2048a9b1b62f862bb950e8d Author: Alexander Atanasov Date: Fri Jan 24 17:36:15 2025 +0200 dm-ploop: d

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: convert the rest of the lists to use llist variant

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 28bedecf659cf96899de252977052d0578d0ad78 Author: Alexander Atanasov Date: Fri Jan 24 17:35:42 2025 +0200 dm-ploop: c

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: do not flush after metadata writes

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 199014891c29c2be4acd17527df6884aa23de1a8 Author: Andrey Zhadchenko Date: Fri Jan 24 17:35:47 2025 +0200 dm-ploop: do

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: do not wait for BAT update for non-FUA requests

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit cd786dbacb8b94f0ec5d79aaab2918432bd1f754 Author: Andrey Zhadchenko Date: Fri Jan 24 17:35:56 2025 +0200 dm-ploop: do

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: do not use a wrapper for set_bit to make a page writeback

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit bcdce69549356266c6bbbd3216f85c50e080ba5f Author: Alexander Atanasov Date: Fri Jan 24 17:36:00 2025 +0200 dm-ploop: d

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: add pio list ids to be used when passing pios to runners

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 08dc7117bceb9aa26907f9bfe677ddb04e40c79e Author: Alexander Atanasov Date: Fri Jan 24 17:36:13 2025 +0200 dm-ploop: a

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: simplify llseek

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit bc24174023e9083658049eb328fcf4b7479ed349 Author: Andrey Zhadchenko Date: Fri Jan 24 17:35:52 2025 +0200 dm-ploop: si

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: resubmit enospc pios from dispatcher thread

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 71831d9c59b6d7622dec38dc7219564baeb480cc Author: Alexander Atanasov Date: Fri Jan 24 17:36:33 2025 +0200 dm-ploop: r

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: submit all postponed metadata on REQ_OP_FLUSH

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit e039c9267ba62f2db1f77febb90b0c46a3ac7871 Author: Andrey Zhadchenko Date: Fri Jan 24 17:35:58 2025 +0200 dm-ploop: su

[Devel] [PATCH v2 VZ9] ve: rework task_ve pointer reset for zombies

2025-01-27 Thread Pavel Tikhomirov
We don't have to do the reset for "normal" tasks (basically any task inside container process tree except init). As they hold indirect reference to ve via container init process, which will reap them before releasing its reference to ve. So let's not do it. We see that vzps does not consider such

[Devel] [PATCH RHEL9 COMMIT] dm-ploop: handle REQ_PREFLUSH

2025-01-27 Thread Konstantin Khorenko
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.6 --> commit 649ec1bdd004cde5c9ef89c53e852b226eca901b Author: Andrey Zhadchenko Date: Fri Jan 24 17:35:59 2025 +0200 dm-ploop: ha

[Devel] [PATCH VZ9] fs/fuse kio: get the correct rpc pointer in pcs_rpc_sent_cb().

2025-01-27 Thread Liu Kui
Get the rpc pointer from the original msg instead of the cloned msg. Because it could be NULL in the cloned msg if it is being aborted while still sits in the rpc's input_queue. Related to #VSTOR-98673 Signed-off-by: Liu Kui --- fs/fuse/kio/pcs/pcs_rpc.c | 4 ++-- 1 file changed, 2 insertions(+)

[Devel] [PATCH VZ9 v2 5/5] block/blk-cbt: add BLKCBTRENAME instead of BLKCBTSET flag

2025-01-27 Thread Andrey Zhadchenko
Users could rename cbts with CI_FLAG_NEW_NAME flag during BLKCBTSET ioctl. Set command now uses ci_name to identify target, so we need a new field to present updated name. Add new BLKCBTRENAME ioctl instead of adding new fields to blk_user_cbt_info. Note that we do not need to extra protect cbt->n

[Devel] [PATCH VZ9 v2 0/5] Currently blk-cbt use UUID as a name. This is a big limitation.

2025-01-27 Thread Andrey Zhadchenko
v2: - add "blk-cbt: introduce ABI versioning" patch - add "block/blk-cbt: add BLKCBTRENAME instead of BLKCBTSET flag" patch - remove total_count from blk_user_cbt_list() - add cbt limit - various suggestions and small fixes for patch "block/blk-cbt: allow multiple cbts in a single queue" Andr

[Devel] [PATCH VZ9 v2 3/5] blk-cbt: introduce ABI versioning

2025-01-27 Thread Andrey Zhadchenko
so it will be easier to change anything in the future https://virtuozzo.atlassian.net/browse/VSTOR-96269 Signed-off-by: Andrey Zhadchenko --- block/blk-cbt.c | 10 ++ include/uapi/linux/fs.h | 4 2 files changed, 14 insertions(+) diff --git a/block/blk-cbt.c b/block/blk-cb

[Devel] [PATCH VZ9 v2 1/5] block/blk-cbt: rework uuid field

2025-01-27 Thread Andrey Zhadchenko
Using uuid as a bitmap name is too restrictive. We are going to expose bitmap names to libvirt where we cannot expect users to follow such constraint. QEMU allows bitmap names up to 1024 symbols, but this seems too big for the structure. We do not want to mess with dynamic length, so set the max le

[Devel] [PATCH VZ9 v2 4/5] block/blk-cbt: add BLKCBTLIST ioctl

2025-01-27 Thread Andrey Zhadchenko
so user can query the list of active bitmaps. https://virtuozzo.atlassian.net/browse/VSTOR-96269 Signed-off-by: Andrey Zhadchenko --- v2: - add abi version - remove total_count from struct blk_user_cbt_list block/blk-cbt.c | 36 block/ioctl.c

[Devel] [PATCH VZ9 v2 2/5] block/blk-cbt: allow multiple cbts in a single queue

2025-01-27 Thread Andrey Zhadchenko
Store cbts in a list instead of a single pointer. Allow up to 16 entries. Update all APIs to work with user-specified bitmap. We need to exercise extra care when accessing queue->cbt_list to be sure that accessed element still exists. Majority of accesses, which are mostly user-space ioctls, are p

Re: [Devel] [PATCH VZ9 v2 0/5] Currently blk-cbt use UUID as a name. This is a big limitation.

2025-01-27 Thread Pavel Tikhomirov
Looks good, except for small comment in patch 5. Reviewed-by: Pavel Tikhomirov On 1/28/25 08:39, Andrey Zhadchenko wrote: v2: - add "blk-cbt: introduce ABI versioning" patch - add "block/blk-cbt: add BLKCBTRENAME instead of BLKCBTSET flag" patch - remove total_count from blk_user_cbt_lis

Re: [Devel] [PATCH VZ9 v2 5/5] block/blk-cbt: add BLKCBTRENAME instead of BLKCBTSET flag

2025-01-27 Thread Pavel Tikhomirov
On 1/28/25 08:39, Andrey Zhadchenko wrote: Users could rename cbts with CI_FLAG_NEW_NAME flag during BLKCBTSET ioctl. Set command now uses ci_name to identify target, so we need a new field to present updated name. Add new BLKCBTRENAME ioctl instead of adding new fields to blk_user_cbt_info.