diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c
index 44edcf915c316a35b88666257ce22162495f1415..dd203ae17432fb0c672709691ab968a784da57a9 100644
--- a/lustre/mds/handler.c
+++ b/lustre/mds/handler.c
@@ -1451,7 +1451,9 @@ repeat:
                 up(&new->d_inode->i_sem);
                 OBD_FREE(mea, mealen);
         } else if (rc == 0 && body->oa.o_easize) {
-                mds_try_to_split_dir(obd, new, NULL, body->oa.o_easize);
+                flags = mds_try_to_split_dir(obd, new, NULL, body->oa.o_easize);
+                CERROR("%s: splitted %lu/%u - %d\n", obd->obd_name,
+                       new->d_inode->i_ino, new->d_inode->i_generation, flags);
         }
 
 cleanup:
diff --git a/lustre/mds/mds_open.c b/lustre/mds/mds_open.c
index 5b9efb11377374190f9e3e0d127a1a421b5261c9..c0fe7ef2e545d174b58374af448a1e06974932e9 100644
--- a/lustre/mds/mds_open.c
+++ b/lustre/mds/mds_open.c
@@ -974,6 +974,9 @@ got_child:
                 if ((rc = mds_try_to_split_dir(obd, dparent, &mea, 0))) {
                         if (rc > 0) {
                                 /* dir got splitted */
+                                CERROR("%s: splitted %lu/%u - %d\n", obd->obd_name,
+                                        dparent->d_inode->i_ino,
+                                        dparent->d_inode->i_generation, rc);
                                 GOTO(cleanup, rc = -ERESTART);
                         } else {
                                 /* error happened during spitting */
diff --git a/lustre/mds/mds_reint.c b/lustre/mds/mds_reint.c
index 9a54a4d6d62b727af25cb9b9e0d0642faa045e7a..5e7886e6316c67b2c3154a1d9ab59a0f78dfd230 100644
--- a/lustre/mds/mds_reint.c
+++ b/lustre/mds/mds_reint.c
@@ -625,6 +625,9 @@ static int mds_reint_create(struct mds_update_record *rec, int offset,
                 if ((rc = mds_try_to_split_dir(obd, dparent, &mea, 0))) {
                         if (rc > 0) {
                                 /* dir got splitted */
+                                CERROR("%s: splitted %lu/%u - %d\n",
+                                       obd->obd_name, dparent->d_inode->i_ino,
+                                       dparent->d_inode->i_generation, rc);
                                 GOTO(cleanup, rc = -ERESTART);
                         } else {
                                 /* error happened during spitting. */
@@ -677,6 +680,10 @@ static int mds_reint_create(struct mds_update_record *rec, int offset,
                                                                NULL, nstripes))) {
                                         if (rc > 0) {
                                                 /* dir got splitted */
+                                        CERROR("%s: splitted %lu/%u - %d\n",
+                                               obd->obd_name,
+                                               dchild->d_inode->i_ino,
+                                               dchild->d_inode->i_generation, rc);
                                                 rc = 0;
                                         } else {
                                                 /* an error occured during