Adenosine 2 receptor regulates autophagy and apoptosis to alleviate ischemia reperfusion injury in type 2 diabetes via IRE-1 signaling. Here, ERN1 is linked to type 2 diabetes mellitus.