Home
last modified time | relevance | path

Searched refs:write_behind (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/mdadm/files/
H A D0001-mdadm-Fix-optional-write-behind-parameter.patch34 s.write_behind = DEFAULT_MAX_WRITE_BEHIND;
35 - if (parse_num(&s.write_behind, optarg) != 0 ||
36 - s.write_behind < 0 || s.write_behind > 16383) {
38 + (parse_num(&s.write_behind, optarg) != 0 ||
39 + s.write_behind < 0 || s.write_behind > 16383)) {
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/
H A Dadd-error-check-for-disk-filled-up.patch23 @@ -206,20 +206,22 @@ int write_behind(FILE * file, int convert)
57 - write_behind(file, pf->f_convert);
58 + if(write_behind(file, pf->f_convert) < 0) {
70 - write_behind(file, pf->f_convert);
71 + if(write_behind(file, pf->f_convert) < 0) {
H A Dfix-writing-emtpy-file.patch6 value of function write_behind was checked and used to detect
11 make write_behind to return 0 if written file is empty, to fix
23 @@ -198,9 +198,12 @@ int write_behind(FILE * file, int convert)
H A Dtftp-hpa-bug-fix-on-separated-CR-and-LF.patch21 @@ -207,6 +207,14 @@ int write_behind(FILE * file, int convert)
/OK3568_Linux_fs/kernel/drivers/md/
H A Dmd-bitmap.c467 sb->write_behind = cpu_to_le32(bitmap->mddev->bitmap_info.max_write_behind); in md_bitmap_update_sb()
504 pr_debug("max write behind: %d\n", le32_to_cpu(sb->write_behind)); in md_bitmap_print_sb()
522 unsigned long chunksize, daemon_sleep, write_behind; in md_bitmap_new_disk_sb() local
555 write_behind = bitmap->mddev->bitmap_info.max_write_behind; in md_bitmap_new_disk_sb()
556 if (write_behind > COUNTER_MAX) in md_bitmap_new_disk_sb()
557 write_behind = COUNTER_MAX / 2; in md_bitmap_new_disk_sb()
558 sb->write_behind = cpu_to_le32(write_behind); in md_bitmap_new_disk_sb()
559 bitmap->mddev->bitmap_info.max_write_behind = write_behind; in md_bitmap_new_disk_sb()
582 unsigned long chunksize, daemon_sleep, write_behind; in md_bitmap_read_sb() local
593 write_behind = 0; in md_bitmap_read_sb()
[all …]
H A Dmd-bitmap.h133 __le32 write_behind; /* 60 number of outstanding write-behind writes */ member