lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CABXedaTC=TiWsTeZ5ZWzjbdh8t5-8=6s-aLB41ZvZczoMrgGAg@mail.gmail.com>
Date:	Thu, 23 May 2013 10:55:09 -0700
From:	Shri Agarwal <agashri@...il.com>
To:	linux-kernel@...r.kernel.org, Shri Agarwal <agashri@...il.com>
Subject: how to get coalesced I/O in block layer

Hi,
i am trying to develop a blk driver,
i have registered my I/O handler function with
blk_init_queue(my function, lock)


my function get called for every Read and write as expected but all
I/O are page sized only.
so even if i send 32K I/O from application to my device, it gets me 8
4k(page size ) I/O.

so i have now two choice:
1. either i get I/O before got split
2. after elevator has aggregated them.



i have tried QUEUE_FLAG_PLUGGED to get large I/O but I/O are not
consistent(corruption happens after read and writing with
QUEUE_FLAG_PLUGGED).
any info would be highly appreciated.

thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ