Re: [PATCH 1/1] libceph: use memalloc flags for net IO

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

 



On Thu, Oct 16, 2014 at 10:50 AM,  <michaelc@xxxxxxxxxxx> wrote:
> From: Mike Christie <michaelc@xxxxxxxxxxx>
>
> This patch has ceph's lib code use the memalloc flags.
>
> If the VM layer needs to write data out to free up memory to handle new
> allocation requests, the block layer must be able to make forward progress.
> To handle that requirement we use structs like mempools to reserve memory for
> objects like bios and requests.
>
> The problem is when we send/receive block layer requests over the network
> layer, net skb allocations can fail and the system can lock up.
> To solve this, the memalloc related flags were added. NBD, iSCSI
> and NFS uses these flags to tell the network/vm layer that it should
> use memory reserves to fullfill allcation requests for structs like
> skbs.

Applied with my Reviewed-by.

>
> I am running ceph in a bunch of VMs in my laptop, so this patch was
> not tested very harshly. The patch was made over Linus's tree. I tried
> to make it over the ceph-client tree but noticed it was very old (3.3
> kernel or something).

I'm guessing you tried Sage's k.org tree.  We do everything on github
(testing branch), k.org tree is used for pull requests only so master
is not updated.

https://github.com/ceph/ceph-client

Thanks,

                Ilya
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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