Merge branch 'xfs-4.9-log-recovery-fixes' into for-next
authorDave Chinner <david@fromorbit.com>
Sun, 2 Oct 2016 22:56:28 +0000 (09:56 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 2 Oct 2016 22:56:28 +0000 (09:56 +1100)
1  2 
fs/xfs/libxfs/xfs_alloc.c
fs/xfs/libxfs/xfs_alloc.h
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_bmap.h
fs/xfs/xfs_filestream.c
fs/xfs/xfs_super.c
fs/xfs/xfs_trace.h

Simple merge
index f7c5201932394f15f3cb2a1c41aad517634f484d,7fd8eafd9abedb6ce053197fbc3160518bbae451..7c404a6b0ae32292cf9a6eb39efd15026e8e76ed
@@@ -85,12 -85,12 +85,12 @@@ typedef struct xfs_alloc_arg 
        xfs_extlen_t    len;            /* output: actual size of extent */
        xfs_alloctype_t type;           /* allocation type XFS_ALLOCTYPE_... */
        xfs_alloctype_t otype;          /* original allocation type */
+       int             datatype;       /* mask defining data type treatment */
        char            wasdel;         /* set if allocation was prev delayed */
        char            wasfromfl;      /* set if allocation is from freelist */
-       char            userdata;       /* mask defining userdata treatment */
 -      char            isfl;           /* set if is freelist blocks - !acctg */
        xfs_fsblock_t   firstblock;     /* io first block allocated */
        struct xfs_owner_info   oinfo;  /* owner of blocks being allocated */
 +      enum xfs_ag_resv_type   resv;   /* block reservation to use */
  } xfs_alloc_arg_t;
  
  /*
index 6fd458674e561095ed10d9735a9b7d1ec87a7bfc,06d1201b4718bdf78191906de0241d3ba753d3bb..9d7f61d36645f828b8267a57131fb1f212788d72
@@@ -3783,9 -3785,9 +3787,9 @@@ xfs_bmap_btalloc
        }
        args.minleft = ap->minleft;
        args.wasdel = ap->wasdel;
 -      args.isfl = 0;
 +      args.resv = XFS_AG_RESV_NONE;
-       args.userdata = ap->userdata;
-       if (ap->userdata & XFS_ALLOC_USERDATA_ZERO)
+       args.datatype = ap->datatype;
+       if (ap->datatype & XFS_ALLOC_USERDATA_ZERO)
                args.ip = ap->ip;
  
        error = xfs_alloc_vextent(&args);
Simple merge
Simple merge
Simple merge
index c2a875fcf26e319deb2851c6fded67a7d83980dc,74606cba7dbad60493b14124eae7f524bb6fecfa..c6b2b1dcde75d14d2b2e5254020cee10e6cf6ab6
@@@ -1623,8 -1622,8 +1623,8 @@@ DECLARE_EVENT_CLASS(xfs_alloc_class
                __field(short, otype)
                __field(char, wasdel)
                __field(char, wasfromfl)
 -              __field(char, isfl)
 +              __field(int, resv)
-               __field(char, userdata)
+               __field(int, datatype)
                __field(xfs_fsblock_t, firstblock)
        ),
        TP_fast_assign(
                __entry->otype = args->otype;
                __entry->wasdel = args->wasdel;
                __entry->wasfromfl = args->wasfromfl;
 -              __entry->isfl = args->isfl;
 +              __entry->resv = args->resv;
-               __entry->userdata = args->userdata;
+               __entry->datatype = args->datatype;
                __entry->firstblock = args->firstblock;
        ),
        TP_printk("dev %d:%d agno %u agbno %u minlen %u maxlen %u mod %u "
                  "prod %u minleft %u total %u alignment %u minalignslop %u "
 -                "len %u type %s otype %s wasdel %d wasfromfl %d isfl %d "
 +                "len %u type %s otype %s wasdel %d wasfromfl %d resv %d "
-                 "userdata %d firstblock 0x%llx",
+                 "datatype 0x%x firstblock 0x%llx",
                  MAJOR(__entry->dev), MINOR(__entry->dev),
                  __entry->agno,
                  __entry->agbno,
                  __print_symbolic(__entry->otype, XFS_ALLOC_TYPES),
                  __entry->wasdel,
                  __entry->wasfromfl,
 -                __entry->isfl,
 +                __entry->resv,
-                 __entry->userdata,
+                 __entry->datatype,
                  (unsigned long long)__entry->firstblock)
  )