]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/block/aoe/aoe.h
aoe: provide ATA identify device content to user on request
[karo-tx-linux.git] / drivers / block / aoe / aoe.h
index d2ed7f18d1acfa6303b67999b0b39a93e575f49b..f6e0c03fe7b2a642f63a52bc436a0c0932771477 100644 (file)
@@ -1,5 +1,5 @@
 /* Copyright (c) 2012 Coraid, Inc.  See COPYING for GPL terms. */
-#define VERSION "50"
+#define VERSION "60"
 #define AOE_MAJOR 152
 #define DEVICE_NAME "aoe"
 
@@ -122,14 +122,14 @@ struct aoeif {
 
 struct aoetgt {
        unsigned char addr[6];
-       ushort nframes;
+       ushort nframes;         /* cap on frames to use */
        struct aoedev *d;                       /* parent device I belong to */
        struct list_head ffree;                 /* list of free frames */
        struct aoeif ifs[NAOEIFS];
        struct aoeif *ifp;      /* current aoeif in use */
        ushort nout;
-       ushort maxout;
-       ulong falloc;
+       ushort maxout;          /* current value for max outstanding */
+       ulong falloc;           /* number of allocated frames */
        ulong lastwadj;         /* last window adjustment */
        int minbcnt;
        int wpkts, rpkts;
@@ -151,7 +151,7 @@ struct aoedev {
        struct work_struct work;/* disk create work struct */
        struct gendisk *gd;
        struct request_queue *blkq;
-       struct hd_geometry geo; 
+       struct hd_geometry geo;
        sector_t ssize;
        struct timer_list timer;
        spinlock_t lock;
@@ -169,6 +169,7 @@ struct aoedev {
        struct aoetgt *htgt;    /* target needing rexmit assistance */
        ulong ntargets;
        ulong kicked;
+       char ident[512];
 };
 
 /* kthread tracking */