Thread (2 messages) 2 messages, 2 authors, 2019-12-18

Re: [PATCH v6 2/9] block: Add encryption context to struct bio

flat view

From: Martin K. Petersen <hidden>
Date: 2019-12-18 21:25:52
Also in: linux-f2fs-devel, linux-fscrypt, linux-fsdevel, linux-scsi

Darrick,
quoted
+#ifdef CONFIG_BLK_INLINE_ENCRYPTION
+	struct bio_crypt_ctx	*bi_crypt_context;
+#endif
This grows struct bio even if we aren't actively using bi_crypt_context,
and I thought Jens told us to stop making it bigger. :)
Yeah. Why not use the bio integrity plumbing? It was explicitly designed
to attach things to a bio and have them consumed by the device driver.

-- 
Martin K. Petersen	Oracle Linux Engineering
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help