OSDN Git Service

device-dax: improve fault handler debug output
authorOliver O'Halloran <oohall@gmail.com>
Tue, 11 Apr 2017 15:59:36 +0000 (01:59 +1000)
committerDan Williams <dan.j.williams@intel.com>
Thu, 13 Apr 2017 04:59:13 +0000 (21:59 -0700)
commit762026203c0b87b1088342b664e67ca7c45fb7c4
tree155cae151e60850101864c7681f4ef773609ac4f
parent54eafcc9e339affb8982fd21e1fc4aa4a036655b
device-dax: improve fault handler debug output

A couple of minor improvements to the debug output in the fault handlers:

a) Print the region alignment and fault size when we sent a SIGBUS
   because the region alignment is greater than the fault size.
b) Fix the message in the PFN_{DEV|MAP} check.
c) Additionally print the fault size enum value in the huge fault handler.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/dax.c