Re: [PATCH 1/5] ceph: Do not look at the index of an encrypted page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 29, 2024 at 08:26:42AM -0500, Jeff Layton wrote:
> On Fri, 2024-11-29 at 05:50 +0000, Matthew Wilcox (Oracle) wrote:
> > If the pages array contains encrypted pages, we cannot look at
> > page->index because that field is uninitialised.  Instead, use the new
> > ceph_fscrypt_pagecache_folio() to get the pagecache folio and look at
> > the index of that.
> > 
> > Fixes: 4de77f25fd85 (ceph: use osd_req_op_extent_osd_iter for netfs reads)
> 
> This commit may be a better candidate for the fixes tag:
> 
>      d55207717ded ceph: add encryption support to writepage and writepages

... that's the commit i had intended to use.  Not sure what I
fat-fingered to make this happen.




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux